mirror of
https://github.com/ublue-os/bazzite.git
synced 2025-03-01 07:13:26 +00:00
chore: Ignore "same file" copy errors
This commit is contained in:
parent
5b2e5e97b5
commit
ecb43c1fa7
@ -26,7 +26,7 @@ index ac7adb6..d46bb14 100755
|
||||
for cffile in "$prpath"/"$confd"/*.conf
|
||||
do
|
||||
- [ -f "$cffile" ] && cp -av "$cffile" $runconf/"$confd"
|
||||
+ [ -f "$cffile" ] && /usr/bin/cp -avf "$cffile" $confdir/"$confd"
|
||||
+ [ -f "$cffile" ] && /usr/bin/cp -avf "$cffile" $confdir/"$confd" || true
|
||||
done
|
||||
fi
|
||||
done
|
||||
@ -89,14 +89,14 @@ index 3f03354..1e43489 100755
|
||||
for cffile in "$prpath"/"$confd"/*.lua
|
||||
do
|
||||
- [ -f "$cffile" ] && cp -av "$cffile" $runconf/"$confd"
|
||||
+ [ -f "$cffile" ] && /usr/bin/cp -avf "$cffile" $confdir/"$confd"
|
||||
+ [ -f "$cffile" ] && /usr/bin/cp -avf "$cffile" $confdir/"$confd" || true
|
||||
done
|
||||
;;
|
||||
*.conf.d)
|
||||
for cffile in "$prpath"/"$confd"/*.conf
|
||||
do
|
||||
- [ -f "$cffile" ] && cp -av "$cffile" $runconf/"$confd"
|
||||
+ [ -f "$cffile" ] && /usr/bin/cp -avf "$cffile" $confdir/"$confd"
|
||||
+ [ -f "$cffile" ] && /usr/bin/cp -avf "$cffile" $confdir/"$confd" || true
|
||||
done
|
||||
;;
|
||||
esac
|
||||
|
Loading…
x
Reference in New Issue
Block a user