diff options
author | Joe <rrbo@proton.me> | 2023-03-08 17:24:07 +0100 |
---|---|---|
committer | Joe <rrbo@proton.me> | 2023-03-08 17:24:07 +0100 |
commit | fed1aefbac70b13f719a52380210cb0cb28d2126 (patch) | |
tree | 4708347b167cf8dc010406149af949948bd09c3a /.local | |
parent | up (diff) | |
download | dotfiles-bsd-fed1aefbac70b13f719a52380210cb0cb28d2126.tar.gz dotfiles-bsd-fed1aefbac70b13f719a52380210cb0cb28d2126.tar.bz2 dotfiles-bsd-fed1aefbac70b13f719a52380210cb0cb28d2126.tar.xz dotfiles-bsd-fed1aefbac70b13f719a52380210cb0cb28d2126.tar.zst dotfiles-bsd-fed1aefbac70b13f719a52380210cb0cb28d2126.zip |
up
Diffstat (limited to '.local')
-rwxr-xr-x | .local/bin/tmp_os.sh | 14 |
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 |