summaryrefslogtreecommitdiffstats
path: root/deps-trisquel
diff options
context:
space:
mode:
Diffstat (limited to 'deps-trisquel')
-rwxr-xr-xdeps-trisquel5
1 files changed, 5 insertions, 0 deletions
diff --git a/deps-trisquel b/deps-trisquel
index 5f9cffc..080cc73 100755
--- a/deps-trisquel
+++ b/deps-trisquel
@@ -18,6 +18,11 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
+if [[ $EUID -ne 0 ]]; then
+ echo "This script must be run as root"
+ exit 1
+fi
+
set -u -e -v
# Install build dependencies