From 72c1a33dbd73df9c2d4e179e54ecaa2c6598f0a4 Mon Sep 17 00:00:00 2001 From: oklopfer <104327997+oklopfer@users.noreply.github.com> Date: Sun, 12 May 2024 17:12:38 -0400 Subject: [PATCH] run as sudo --- .../hooks/live/099-install-custom-apps.chroot | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/etc/config/hooks/live/099-install-custom-apps.chroot b/etc/config/hooks/live/099-install-custom-apps.chroot index 943ac17..98f0c95 100644 --- a/etc/config/hooks/live/099-install-custom-apps.chroot +++ b/etc/config/hooks/live/099-install-custom-apps.chroot @@ -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 @@ -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