Revert to old filejail, can it do screenshots again?

This commit is contained in:
probonopd authored and GitHub committed 2020-01-18 08:22:19 +00:00
1 parent b8a326b92b
commit 62ba4d10a4
1 file changed
+10 -7
+10 -7
View File
@@ -210,15 +210,18 @@ TERMINAL=false
grep -r Terminal=true "${APPDIR}"/*.desktop && TERMINAL=true
echo "TERMINAL: $TERMINAL"
# "Install" Firejail
wget -c -q "https://github.com/AppImage/AppImageHub/releases/download/deps/firejail.tar.gz" ; sudo tar xf firejail.tar.gz -C /
sudo chown root:root /usr/bin/firejail ; sudo chmod u+s /usr/bin/firejail # suid
# The simplest and most straightforward way to get the most recent version
# of Firejail running on a less than recent OS; don't do this at home kids
FILE=$(wget -q "http://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/" -O - | grep musl-1 | head -n 1 | cut -d '"' -f 2)
wget -c "http://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/$FILE"
FILE=$(wget -q "http://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/" -O - | grep firejail-0 | head -n 1 | cut -d '"' -f 2)
wget -c "http://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/$FILE"
sudo tar xf musl-*.apk -C / 2>/dev/null
sudo tar xf firejail-*.apk -C / 2>/dev/null
sudo chown root:root /usr/bin/firejail ; sudo chmod u+s /usr/bin/firejail # suid
# FILE=$(wget -q "http://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/" -O - | grep musl-1 | head -n 1 | cut -d '"' -f 2)
# wget -c "http://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/$FILE"
# FILE=$(wget -q "http://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/" -O - | grep firejail-0 | head -n 1 | cut -d '"' -f 2)
# wget -c "http://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/$FILE"
# sudo tar xf musl-*.apk -C / 2>/dev/null
# sudo tar xf firejail-*.apk -C / 2>/dev/null
# sudo chown root:root /usr/bin/firejail ; sudo chmod u+s /usr/bin/firejail # suid
echo ""
echo "==========================================="