Compare commits

...

2 Commits

Author SHA1 Message Date
Bandie da8dcc7222
./gro -> ./iro 2020-06-03 19:23:36 +02:00
Bandie 6c27e4ee9d
GlacticRegistrationOffice -> IntergalacticRegistrationOffice 2020-06-02 19:42:09 +02:00
2 changed files with 9 additions and 9 deletions

View File

@ -79,7 +79,7 @@ function heading() {
makeLeft 1
makeLeft $SPACE
italicLetters $FILE
printf "GALACTIC\n" >> $FILE
printf "INTERGALACTIC\n" >> $FILE
if [ $PAGE -eq 1 ]; then
makeLeft $NEXTPAGE

16
start
View File

@ -2,7 +2,7 @@
export EVENT=DiVOC
TMP=/tmp/$RANDOM
BT="Galactic Registration Office - v0.1"
BT="Intergalactic Registration Office - v0.1"
function diaBox() {
h=8
@ -113,12 +113,12 @@ function jhpPrintReg() {
return 0
}
function jhpGROStamp() {
jhpAskForField "GRO stamp"
function jhpIROStamp() {
jhpAskForField "IRO stamp"
if [ $? -eq 0 ]; then
diaBox "Insert Passport" "Please insert passport (Archivements) into the printer."
cd jhp
./gro $FIELD
./iro $FIELD
cd ..
return 0
else
@ -169,7 +169,7 @@ function jhpReg() {
confirm=" Forename: $FNAME\n Surename: $SNAME\n Planet: $PLANET"
ynBox "GRO Stamp" "Does this being wants to have a GRO stamp?"
ynBox "IRO Stamp" "Does this being wants to have a IRO stamp?"
if [ $? -eq 0 ]; then
STAMP=true
else
@ -193,7 +193,7 @@ function jhpmenu() {
dialog --backtitle "$BT" \
--menu "Select ID type:" 14 40 3 \
1 "Registration" \
2 "GRO Stamp" \
2 "IRO Stamp" \
3 "GPG" \
9 "Back" 2> $TMP
@ -204,14 +204,14 @@ function jhpmenu() {
if [ $? -eq 0 ]; then
jhpPrintReg
if [ "$STAMP" == "true" ]; then
jhpGROStamp
jhpIROStamp
fi
if [ -n "$FP" ]; then
jhpPrintGPG
fi
fi
;;
2) jhpGROStamp
2) jhpIROStamp
;;
3) jhpGPG
if [ $? -eq 0 ]; then