Revert "feat(just): make setup-decky create /home/deck symlink (#1292)"

This reverts commit e78db594fc170ea82360cbe7cafdff496517ba4e.
This commit is contained in:
Kyle Gospodnetich 2024-06-29 08:19:29 -07:00 committed by GitHub
parent e78db594fc
commit 93df744782
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -169,10 +169,6 @@ setup-decky ACTION="":
fi
if [[ "${OPTION,,}" =~ install ]]; then
export HOME=$(getent passwd ${SUDO_USER:-$USER} | cut -d: -f6)
if [ ! -L "/home/deck" ] && [ ! -e "/home/deck" ] && [ "$HOME" != "/home/deck" ]; then
echo "Making a /home/deck symlink to fix plugins that do not use environment variables."
sudo ln -sf "$HOME" /home/deck
fi
curl -L https://github.com/SteamDeckHomebrew/decky-installer/releases/latest/download/install_release.sh | sh
sudo chcon -R -t bin_t $HOME/homebrew/services/PluginLoader
elif [[ "${OPTION,,}" =~ simpledeckytdp ]]; then