diff options
author | netblue30 <netblue30@yahoo.com> | 2017-02-04 11:57:47 -0500 |
---|---|---|
committer | netblue30 <netblue30@yahoo.com> | 2017-02-04 11:57:47 -0500 |
commit | e46dd3e952af021c76d7f7b4df8f6da48fed6bed (patch) | |
tree | ea3c5e9767bc17d8105a9e0056292de9b9c1fd2c /src/fgit/fgit-uninstall.sh | |
parent | Merge pull request #1053 from Fred-Barclay/update_scripts (diff) | |
download | firejail-e46dd3e952af021c76d7f7b4df8f6da48fed6bed.tar.gz firejail-e46dd3e952af021c76d7f7b4df8f6da48fed6bed.tar.zst firejail-e46dd3e952af021c76d7f7b4df8f6da48fed6bed.zip |
git-install
Diffstat (limited to 'src/fgit/fgit-uninstall.sh')
-rw-r--r-- | src/fgit/fgit-uninstall.sh | 16 |
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..9a370546d --- /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 | |||
5 | set -e # exit immediately if one of the commands fails | ||
6 | cd /tmp # by the time we start this, we should have a tmpfs mounted on top of /tmp | ||
7 | git clone --depth=1 https://www.github.com/netblue30/firejail.git | ||
8 | cd firejail | ||
9 | ./configure | ||
10 | sudo make uninstall | ||
11 | echo "**********************************************************************" | ||
12 | echo "Firejail mainline git version uninstalled from /usr/local" | ||
13 | echo | ||
14 | echo "**********************************************************************" | ||
15 | cd .. | ||
16 | rm -rf firejail | ||