Skip to content

Commit 72c1a33

Browse files
authored
run as sudo
1 parent 48ea652 commit 72c1a33

File tree

1 file changed

+10
-6
lines changed

1 file changed

+10
-6
lines changed

etc/config/hooks/live/099-install-custom-apps.chroot

+10-6
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# More pacstall specific things
55
export SUDO_USER=rhino-live
66
export DEBIAN_FRONTEND=noninteractive
7-
export PACSTALL_DOWNLOADER=quiet-wget
7+
export PACSTALL_DOWNLOADER=wget
88
export GITHUB_ACTIONS=true
99

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

21-
HOME=/home/rhino-live runuser -l rhino-live -c 'pacstall -U oklopfer:rhinobwrap'
22-
#Pacstall installs
23-
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'
24-
HOME=/home/rhino-live runuser -l rhino-live -c 'SUDO_USER=rhino-live PACSTALL_DOWNLOADER=quiet-wget pacstall -PI rhino-setup-bin'
25-
HOME=/home/rhino-live runuser -l rhino-live -c 'pacstall -U pacstall:master'
21+
pacstall -U oklopfer:rhinobwrap
22+
if [[ $(dpkg --print-architecture) = arm64 ]]; then
23+
FIREFOX="firefox-arm64-deb"
24+
else
25+
FIREFOX="firefox-bin"
26+
fi
27+
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
28+
sudo pacstall -PI rhino-setup-bin
29+
pacstall -U pacstall:master
2630

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

0 commit comments

Comments
 (0)