aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/update_src.sh
blob: a61244c49fcbb9fa5489ff059f158f9dee7fbf95 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh
# Purpose: Fetch, compile, and install firejail from GitHub source. Package-manager agnostic.
set -e
git clone --depth=1 https://www.github.com/netblue30/firejail.git
cd firejail
./configure
make
sudo make install-strip
echo "Firejail was updated!"
cd ..
rm -rf firejail