aboutsummaryrefslogtreecommitdiffstats
path: root/src/fgit/fgit-uninstall.sh
diff options
context:
space:
mode:
authorLibravatar SYN-cook <SYN-cook@users.noreply.github.com>2017-02-28 19:57:25 +0100
committerLibravatar GitHub <noreply@github.com>2017-02-28 19:57:25 +0100
commit0890a915daf92ef2e37bb28be3d887e699ec1de2 (patch)
tree785bfa9d2eded39c3df72f00071d1abedb5cec90 /src/fgit/fgit-uninstall.sh
parentremove redundancy (diff)
parentprofile merges (diff)
downloadfirejail-0890a915daf92ef2e37bb28be3d887e699ec1de2.tar.gz
firejail-0890a915daf92ef2e37bb28be3d887e699ec1de2.tar.zst
firejail-0890a915daf92ef2e37bb28be3d887e699ec1de2.zip
Merge pull request #2 from netblue30/master
merge upstream
Diffstat (limited to 'src/fgit/fgit-uninstall.sh')
-rw-r--r--src/fgit/fgit-uninstall.sh16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/fgit/fgit-uninstall.sh b/src/fgit/fgit-uninstall.sh
new file mode 100644
index 000000000..bc7cc9563
--- /dev/null
+++ b/src/fgit/fgit-uninstall.sh
@@ -0,0 +1,16 @@
1#!/bin/sh
2# Purpose: Fetch, compile, and install firejail from GitHub source. Package-manager agnostic.
3#
4
5set -e # exit immediately if one of the commands fails
6cd /tmp # by the time we start this, we should have a tmpfs mounted on top of /tmp
7git clone --depth=1 https://www.github.com/netblue30/firejail.git
8cd firejail
9./configure --enable-git-install
10sudo make uninstall
11echo "**********************************************************************"
12echo "Firejail mainline git version uninstalled from /usr/local"
13echo
14echo "**********************************************************************"
15cd ..
16rm -rf firejail