aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/update_deb.sh
blob: d417a09eaf3ae5641e152baa1295774a65bf865f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/sh
# This file is part of Firejail project
# Copyright (C) 2014-2020 Firejail Authors
# License GPL v2

# Purpose: Fetch, compile, and install firejail from GitHub source. For
# Debian-based distros only (Ubuntu, Mint, etc).
set -e
git clone --depth=1 https://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