From af912dadc999fde3473a343a7671673820ee8ccb Mon Sep 17 00:00:00 2001 From: Minecon724 Date: Sun, 5 Nov 2023 19:34:06 +0100 Subject: [PATCH] s --- install.sh | 2 ++ nman.sh | 1 + 2 files changed, 3 insertions(+) diff --git a/install.sh b/install.sh index 5a70652..04f3ff8 100644 --- a/install.sh +++ b/install.sh @@ -1,3 +1,5 @@ +#!/bin/sh + if [ "$EUID" -ne 0 ]; then echo not root exit 1 diff --git a/nman.sh b/nman.sh index 02f1629..00da2a7 100644 --- a/nman.sh +++ b/nman.sh @@ -1,2 +1,3 @@ +#!/bin/sh cd /opt python3 -c 'import nman; nman.update()' \ No newline at end of file