diff options
| author | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2024-07-15 17:12:59 +0900 |
|---|---|---|
| committer | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2024-07-15 17:12:59 +0900 |
| commit | 4722a4e037eee3fa38e81cb99530cdce45d8bb0d (patch) | |
| tree | 66614c2c215b32b6f5d1bbbe594f8e9d03771dff | |
| parent | a3f415a417f27a7447261f56211ff742022dfdb3 (diff) | |
Init
| -rwxr-xr-x | public/thesiah.sh | 4 | ||||
| -rwxr-xr-x | static/thesiah.sh | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/public/thesiah.sh b/public/thesiah.sh index 77c2727..96768f0 100755 --- a/public/thesiah.sh +++ b/public/thesiah.sh @@ -612,7 +612,7 @@ microsetup() { finalize() { ln -sf /home/"$name"/.dotfiles/default/Pictures/wallpaper/bg.png /home/"$name"/.local/share/bg - chown -h "$name":wheel /home/"$name"/.local/share/bg + chown -R "$name":wheel /home/"$name" # Farewell whiptail --title "All done!" \ --msgbox "Congrats! Provided there were no hidden errors, the script completed successfully and all the programs and configuration files should be in place.\\n\\nTo run the new graphical environment, log out and log back in as your new user, then run the command \"startx\" to start the graphical environment (it will start automatically in tty1).\\n\\n.t Soomin" 13 80 @@ -693,7 +693,7 @@ installationloop putgitrepo "$dotfilesrepo" "/home/$name/.dotfiles" "$repobranch" rm -rf "/home/$name/.git/" "/home/$name/README.md" "/home/$name/LICENSE" "/home/$name/FUNDING.yml" find /home/"$name" -maxdepth 1 -type f -name ".*" -exec rm -rf {} \; -cd "/home/$name/.dotfiles" && stow --no-folding -S ar && stow --no-folding -S default || exit 1 +cd "/home/$name/.dotfiles" && sudo -u "$name" stow --no-folding -S ar && sudo -u "$name" stow --no-folding -S default && cd /tmp || exit 1 # Link profiles sudo -u "$name" ln -sf "/home/$name/.dotfiles/ar/.config/shell/profile" "/home/$name/.zprofile" diff --git a/static/thesiah.sh b/static/thesiah.sh index 77c2727..96768f0 100755 --- a/static/thesiah.sh +++ b/static/thesiah.sh @@ -612,7 +612,7 @@ microsetup() { finalize() { ln -sf /home/"$name"/.dotfiles/default/Pictures/wallpaper/bg.png /home/"$name"/.local/share/bg - chown -h "$name":wheel /home/"$name"/.local/share/bg + chown -R "$name":wheel /home/"$name" # Farewell whiptail --title "All done!" \ --msgbox "Congrats! Provided there were no hidden errors, the script completed successfully and all the programs and configuration files should be in place.\\n\\nTo run the new graphical environment, log out and log back in as your new user, then run the command \"startx\" to start the graphical environment (it will start automatically in tty1).\\n\\n.t Soomin" 13 80 @@ -693,7 +693,7 @@ installationloop putgitrepo "$dotfilesrepo" "/home/$name/.dotfiles" "$repobranch" rm -rf "/home/$name/.git/" "/home/$name/README.md" "/home/$name/LICENSE" "/home/$name/FUNDING.yml" find /home/"$name" -maxdepth 1 -type f -name ".*" -exec rm -rf {} \; -cd "/home/$name/.dotfiles" && stow --no-folding -S ar && stow --no-folding -S default || exit 1 +cd "/home/$name/.dotfiles" && sudo -u "$name" stow --no-folding -S ar && sudo -u "$name" stow --no-folding -S default && cd /tmp || exit 1 # Link profiles sudo -u "$name" ln -sf "/home/$name/.dotfiles/ar/.config/shell/profile" "/home/$name/.zprofile" |
