Skip to content

Commit

Permalink
Change gui mode is now default when no arguments passed
Browse files Browse the repository at this point in the history
  • Loading branch information
simoniz0r committed Aug 3, 2017
1 parent 31b7891 commit 5b33b42
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 102 deletions.
Binary file modified gpgpassman-1.4.9.tar.gz
Binary file not shown.
36 changes: 18 additions & 18 deletions gpgpassman.sh
Original file line number Diff line number Diff line change
Expand Up @@ -529,24 +529,7 @@ main () {
fi
exit 0
;;
gui)
programisinstalled "zenity"
if [ $return = "1" ]; then
zenitystart
else
echo "gpgpassman - http://www.simonizor.gq/linuxapps"
echo "A script that uses 'gpg' to encrypt and decrypt passwords."
echo "gpgpassman now has a GUI; install 'zenity' to check it out!"
echo
helpfunc
echo
exit 0
fi
;;
exit*|Exit*)
exit 0
;;
*)
help)
echo "gpgpassman - http://www.simonizor.gq/linuxapps"
echo "A script that uses 'gpg' to encrypt and decrypt passwords."
helpfunc
Expand All @@ -560,6 +543,23 @@ main () {
fi
exit 0
;;
exit*|Exit*)
exit 0
;;
*)
programisinstalled "zenity"
if [ $return = "1" ]; then
zenitystart
else
echo "gpgpassman - http://www.simonizor.gq/linuxapps"
echo "A script that uses 'gpg' to encrypt and decrypt passwords."
echo "gpgpassman now has a GUI; install 'zenity' to check it out!"
echo
helpfunc
echo
exit 0
fi
;;
esac
}

Expand Down
84 changes: 0 additions & 84 deletions gpminst

This file was deleted.

0 comments on commit 5b33b42

Please sign in to comment.