Replaced most script name from _ to -

This commit is contained in:
2021-05-27 18:51:57 -05:00
parent 34741c5b59
commit 39ba84720c
21 changed files with 0 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
#!/bin/bash
# . CONFIG.sh
# set -o xtrace ## To debug scripts
# set -o errexit ## To exit on error
# set -o errunset ## To exit if a variable is referenced but not set
function main() {
SCRIPTPATH="$( cd "$(dirname "")" >/dev/null 2>&1 ; pwd -P )"
cd "${SCRIPTPATH}"
echo "Working Dir: " $(pwd)
input=$(zenity --entry --text="Please put your missing key(s) here.
It will be in hexadecimal format.
Example: 16126D3A3E5C1192")
PASSWD="$(zenity --password --title=Authentication)"
echo -e $PASSWD | sudo -S apt-key adv --keyserver keyserver.ubuntu.com --recv-keys "${input}"
}
main $@;