diff options
| author | Party Wumpus <48649272+PartyWumpus@users.noreply.github.com> | 2023-01-12 18:55:54 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-01-12 18:55:54 +0000 |
| commit | 7c0a3e662f9bb12c15df6c8c9f76237de79ed57c (patch) | |
| tree | 200c2ff524cd100fc59e1c24b118e621eb734f85 /gui | |
| parent | ea40ee3e92076b377da483d79c408163a8f7e199 (diff) | |
| download | decky-installer-7c0a3e662f9bb12c15df6c8c9f76237de79ed57c.tar.gz decky-installer-7c0a3e662f9bb12c15df6c8c9f76237de79ed57c.zip | |
remove line that tried to execute user's username and clean up a little bitv1.4.1
Diffstat (limited to 'gui')
| -rw-r--r-- | gui/user_install_script.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gui/user_install_script.sh b/gui/user_install_script.sh index d5336f7..e4e0868 100644 --- a/gui/user_install_script.sh +++ b/gui/user_install_script.sh @@ -94,7 +94,7 @@ rm -rf "${HOMEBREW_FOLDER}/services" sudo -u $SUDO_USER mkdir -p "${HOMEBREW_FOLDER}/services" sudo -u $SUDO_USER mkdir -p "${HOMEBREW_FOLDER}/plugins" sudo -u $SUDO_USER touch "${USER_DIR}/.steam/steam/.cef-enable-remote-debugging" -$SUDO_USER + echo "30" ; echo "# Finding latest $BRANCH"; if [ $BRANCH = 'prerelease' ] ; then RELEASE=$(curl -s 'https://api.github.com/repos/SteamDeckHomebrew/decky-loader/releases' | jq -r "first(.[] | select(.prerelease == "true"))") @@ -158,8 +158,8 @@ systemctl enable plugin_loader # this (retroactively) fixes a bug where users who ran the installer would have homebrew owned by root instead of their user # will likely be removed at some point in the future if [ "$SUDO_USER" = "deck" ]; then - sudo chown -R deck:deck /home/deck/homebrew - sudo chown -R root:root /home/deck/homebrew/services/* + sudo chown -R deck:deck "${HOMEBREW_FOLDER}" + sudo chown -R root:root "${HOMEBREW_FOLDER}"/services/* fi echo "100" ; echo "# Install finished, installer can now be closed"; |
