aboutsummaryrefslogtreecommitdiffstats
path: root/src/fgit/fgit-uninstall.sh
blob: 9a370546d23ee93d7900df44c39321b3c7e8b271 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/sh
# Purpose: Fetch, compile, and install firejail from GitHub source. Package-manager agnostic.
#

set -e		# exit immediately if one of the commands fails
cd /tmp		# by the time we start this, we should have a tmpfs mounted on top of /tmp
git clone --depth=1 https://www.github.com/netblue30/firejail.git
cd firejail
./configure
sudo make uninstall
echo "**********************************************************************"
echo "Firejail mainline git version uninstalled from /usr/local"
echo
echo "**********************************************************************"
cd ..
rm -rf firejail