chore: Use cp --update=none instead of cp -n
This commit is contained in:
parent
120a5a8086
commit
b83e676695
2 changed files with 3 additions and 3 deletions
|
|
@ -110,7 +110,7 @@ ConditionPathExists=!/var/home/linuxbrew/.linuxbrew
|
|||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStart=/usr/bin/cp -R -n /usr/share/homebrew/home/linuxbrew/.linuxbrew /var/home/linuxbrew
|
||||
ExecStart=/usr/bin/cp -R --update=none /usr/share/homebrew/home/linuxbrew/.linuxbrew /var/home/linuxbrew
|
||||
ExecStart=/usr/bin/chown -R 1000:1000 /var/home/linuxbrew
|
||||
ExecStart=/usr/bin/touch /etc/.linuxbrew
|
||||
|
||||
|
|
|
|||
|
|
@ -9,8 +9,8 @@ FIRSTBOOT_DATA="/usr/share/ublue-os/firstboot"
|
|||
|
||||
mkdir -p "$FIRSTBOOT_DATA/launcher/"
|
||||
|
||||
# doesn't overwrite user's yafti.yml (ignores error)
|
||||
cp -n "$MODULE_DIRECTORY/yafti/yafti.yml" "$FIRSTBOOT_DATA/yafti.yml" || true
|
||||
# doesn't overwrite user's yafti.yml
|
||||
cp --update=none "$MODULE_DIRECTORY/yafti/yafti.yml" "$FIRSTBOOT_DATA/yafti.yml"
|
||||
cp -r "$MODULE_DIRECTORY/yafti/launcher/" "$FIRSTBOOT_DATA"
|
||||
|
||||
FIRSTBOOT_SCRIPT="${FIRSTBOOT_DATA}/launcher/login-profile.sh"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue