Update debian/setup-debian.sh
This commit is contained in:
parent
f2d05be42d
commit
2ce987fc54
1 changed files with 2 additions and 2 deletions
4
debian/setup-debian.sh
vendored
4
debian/setup-debian.sh
vendored
|
@ -92,7 +92,7 @@ main () {
|
||||||
}
|
}
|
||||||
|
|
||||||
if [ $1 == "-i" ]; then
|
if [ $1 == "-i" ]; then
|
||||||
$INTERACTION_MODE="-i"
|
$INTERACTION_MODE="1"
|
||||||
elif [ -z $1 ]; then
|
elif [ -z $1 ]; then
|
||||||
$1
|
$1
|
||||||
else
|
else
|
||||||
|
@ -101,7 +101,7 @@ fi
|
||||||
|
|
||||||
# Check if running in interactive mode
|
# Check if running in interactive mode
|
||||||
interactive () {
|
interactive () {
|
||||||
if [ $INTERACTION_MODE -eq "-i" ];then
|
if [ $INTERACTION_MODE -eq "1" ];then
|
||||||
echo "INFO: ctrl+c to stop the script"
|
echo "INFO: ctrl+c to stop the script"
|
||||||
read -p "Press any key to start the current step..."
|
read -p "Press any key to start the current step..."
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue