Compare commits

...

2 Commits

Author SHA1 Message Date
da8dcc7222
./gro -> ./iro 2020-06-03 19:23:36 +02:00
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 1
makeLeft $SPACE makeLeft $SPACE
italicLetters $FILE italicLetters $FILE
printf "GALACTIC\n" >> $FILE printf "INTERGALACTIC\n" >> $FILE
if [ $PAGE -eq 1 ]; then if [ $PAGE -eq 1 ]; then
makeLeft $NEXTPAGE makeLeft $NEXTPAGE

16
start
View File

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