소스 검색

Merge pull request #406 from tmarkov/patch-1

Fix setup for systems that do /usr merge
Jake Day 6 년 전
부모
커밋
73d2e9ccf4
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      setup.sh

+ 1 - 1
setup.sh

@@ -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