summaryrefslogtreecommitdiffstats
path: root/.local/bin
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-x.local/bin/tmp_os.sh14
1 files changed, 0 insertions, 14 deletions
diff --git a/.local/bin/tmp_os.sh b/.local/bin/tmp_os.sh
deleted file mode 100755
index ad0be7f..0000000
--- a/.local/bin/tmp_os.sh
+++ /dev/null
@@ -1,14 +0,0 @@
-#!/bin/sh
-
-tmpfile=/tmp/os
-os="$(uname)"
-
-if [ "$os" = "Linux" ]; then
- grep "Artix" /etc/issue >/dev/null 2>&1 && os=1 || os=2
-elif [ "$os" = "FreeBSD" ]; then
- os=3
-else
- echo "unknown OS"
- exit 1
-fi
-echo -n $os >$tmpfile