diff --git a/steelbox.sh b/steelbox.sh index 2470583..df258c3 100755 --- a/steelbox.sh +++ b/steelbox.sh @@ -3,23 +3,11 @@ #!/usr/bin/env bash -version="1.31" +version="1.21" echo "Steelbox V$version, Copyright (C) 2022 Kamal Curi" echo "Steelbox comes with ABSOLUTELY NO WARRANTY; For license details, read the manual in doc/" -if [ -f /tmp/steelbox.pid ] -then - echo "There is a temporary PID file in /tmp/, which means that" - echo "either there's an open instance of steelbox, or it" - echo "hasn't properly quit. To avoid manipulating the password" - echo "file improperly, steelbox will not open. If you're sure" - echo "there are no open steelbox processes, remove" - echo "/tmp/steelbox.pid and try again" - exit 1 -else - echo $$ > steelbox.pid -fi if [ -f $HOME/.pasfile.csv.gpg ] then @@ -39,8 +27,6 @@ fi python3 /opt/steelbox.py $version -rm /tmp/steelbox.pid - gpg -c --no-symkey-cache --cipher-algo AES256 $HOME/.pasfile.csv if [ $? -gt 0 ]