summaryrefslogtreecommitdiffstats
path: root/src/fgit/fgit-install.sh
diff options
context:
space:
mode:
authorLibravatar netblue30 <netblue30@yahoo.com>2017-02-04 11:57:47 -0500
committerLibravatar netblue30 <netblue30@yahoo.com>2017-02-04 11:57:47 -0500
commite46dd3e952af021c76d7f7b4df8f6da48fed6bed (patch)
treeea3c5e9767bc17d8105a9e0056292de9b9c1fd2c /src/fgit/fgit-install.sh
parentMerge pull request #1053 from Fred-Barclay/update_scripts (diff)
downloadfirejail-e46dd3e952af021c76d7f7b4df8f6da48fed6bed.tar.gz
firejail-e46dd3e952af021c76d7f7b4df8f6da48fed6bed.tar.zst
firejail-e46dd3e952af021c76d7f7b4df8f6da48fed6bed.zip
git-install
Diffstat (limited to 'src/fgit/fgit-install.sh')
-rwxr-xr-xsrc/fgit/fgit-install.sh20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/fgit/fgit-install.sh b/src/fgit/fgit-install.sh
new file mode 100755
index 000000000..9e43559a1
--- /dev/null
+++ b/src/fgit/fgit-install.sh
@@ -0,0 +1,20 @@
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
10make
11sudo make install-strip
12echo "**********************************************************************"
13echo "Mainline git Firejail version was installed in /usr/local."
14echo "If you want to remove it, run"
15echo
16echo " firejail --git-uninstall"
17echo
18echo "**********************************************************************"
19cd ..
20rm -rf firejail