Skip to content

Commit

Permalink
run as sudo
Browse files Browse the repository at this point in the history
  • Loading branch information
oklopfer authored May 12, 2024
1 parent 48ea652 commit 72c1a33
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions etc/config/hooks/live/099-install-custom-apps.chroot
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# More pacstall specific things
export SUDO_USER=rhino-live
export DEBIAN_FRONTEND=noninteractive
export PACSTALL_DOWNLOADER=quiet-wget
export PACSTALL_DOWNLOADER=wget
export GITHUB_ACTIONS=true

#Pacstall dirs
Expand All @@ -18,11 +18,15 @@ sudo chown "rhino-live" -cR "/home/rhino-live"
sudo chown "rhino-live" -cR "/var/cache/pacstall"
git config --global --add safe.directory '*'

HOME=/home/rhino-live runuser -l rhino-live -c 'pacstall -U oklopfer:rhinobwrap'
#Pacstall installs
HOME=/home/rhino-live runuser -l rhino-live -c 'if [ $(dpkg --print-architecture) = arm64 ]; then FIREFOX="firefox-arm64-deb"; else FIREFOX="firefox-bin"; fi; SUDO_USER=rhino-live PACSTALL_DOWNLOADER=quiet-wget pacstall -PI nala-deb ${FIREFOX} vscodium-deb celeste-bin linux-kernel-stable rhino-core quintom-cursor-theme-git timeshift fake-ubuntu-advantage-tools-deb'
HOME=/home/rhino-live runuser -l rhino-live -c 'SUDO_USER=rhino-live PACSTALL_DOWNLOADER=quiet-wget pacstall -PI rhino-setup-bin'
HOME=/home/rhino-live runuser -l rhino-live -c 'pacstall -U pacstall:master'
pacstall -U oklopfer:rhinobwrap
if [[ $(dpkg --print-architecture) = arm64 ]]; then
FIREFOX="firefox-arm64-deb"
else
FIREFOX="firefox-bin"
fi
sudo pacstall -PI nala-deb ${FIREFOX} vscodium-deb celeste-bin linux-kernel-stable rhino-core quintom-cursor-theme-git timeshift fake-ubuntu-advantage-tools-deb
sudo pacstall -PI rhino-setup-bin
pacstall -U pacstall:master

#Hack: arm64 firefox no snap
if [ $(dpkg --print-architecture) = arm64 ]; then
Expand Down

0 comments on commit 72c1a33

Please sign in to comment.