fixed indenting

This commit is contained in:
jash
2018-10-08 20:47:33 +02:00
committed by kexkey
parent 80b47e6d17
commit 79f7d9a837
4 changed files with 69 additions and 69 deletions

View File

@@ -10,14 +10,14 @@ RECREATE=0
while getopts ":cir" opt; do
case $opt in
r)
RECREATE=1
;;
r)
RECREATE=1
;;
c)
CONFIGURE=1
CONFIGURE=1
;;
i)
INSTALL=1
INSTALL=1
;;
\?)
echo "Invalid option: -$OPTARG. Use -c to configure and -i to install" >&2
@@ -26,15 +26,15 @@ while getopts ":cir" opt; do
done
if [[ $CONFIGURE == 0 && $INSTALL == 0 && RECREATE == 0 ]]; then
echo "Please use -c to configure, -i to install and -ci to do both. Use -r to recreate config files."
echo "Please use -c to configure, -i to install and -ci to do both. Use -r to recreate config files."
else
if [[ $CONFIGURE == 1 ]]; then
trace "Starting configuration phase"
configure $RECREATE
fi
if [[ $CONFIGURE == 1 ]]; then
trace "Starting configuration phase"
configure $RECREATE
fi
if [[ $INSTALL == 1 ]]; then
trace "Starting installation phase"
install
fi
if [[ $INSTALL == 1 ]]; then
trace "Starting installation phase"
install
fi
fi