aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/update_deb.sh
blob: 9d1567c0e3d34438ba811499a9ac6219ba7a07b2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh
# Purpose: Fetch, compile, and install firejail from GitHub source. For
#			Debian-based distros only (Ubuntu, Mint, etc).
set -e
git clone --depth=1 https://www.github.com/netblue30/firejail.git
cd firejail
./configure --prefix=/usr
make deb
sudo dpkg -i firejail*.deb
echo "Firejail was updated!"
cd ..
rm -rf firejail