Fix setup for systems that do /use merge

Some distros (Debian testing) has /lib a symlink to /usr/lib and so cp -rB root/* / doesn't work. This should fix that.
This commit is contained in:
tmarkov 2019-02-27 00:12:13 +02:00 committed by GitHub
parent 5d21cc824c
commit bef034f82b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -32,7 +32,7 @@ read -rp "Press enter if this is correct, or CTRL-C to cancel." cont;echo
echo "\nContinuing setup...\n"
echo "Coping the config files under root to where they belong...\n"
cp -Rb root/* /
for dir in $(ls root/); do cp -Rb root/$dir/* /$dir/; done
echo "Making /lib/systemd/system-sleep/sleep executable...\n"
chmod a+x /lib/systemd/system-sleep/sleep