trolld
This commit is contained in:
parent
64de631b3f
commit
3967b897df
1 changed files with 2 additions and 3 deletions
5
aps
5
aps
|
@ -14,7 +14,7 @@ else
|
||||||
locpkg_database="${install_root}/var/aps/repos"
|
locpkg_database="${install_root}/var/aps/repos"
|
||||||
lock="${install_root}/var/aps/lock"
|
lock="${install_root}/var/aps/lock"
|
||||||
official="https://git.hippoz.xyz/alnux/repo"
|
official="https://git.hippoz.xyz/alnux/repo"
|
||||||
debug=off
|
debug=off
|
||||||
fi
|
fi
|
||||||
if [ ${debug} = on ]; then
|
if [ ${debug} = on ]; then
|
||||||
set -x
|
set -x
|
||||||
|
@ -29,8 +29,7 @@ confirm(){
|
||||||
read prompt
|
read prompt
|
||||||
if [[ ${prompt} = [nN] ]]; then
|
if [[ ${prompt} = [nN] ]]; then
|
||||||
die "User said no. Exiting..."
|
die "User said no. Exiting..."
|
||||||
elif [[ ${prompt} = [yY] ]]; then
|
elif [[ ${prompt} != [yY] ]]; then
|
||||||
else
|
|
||||||
die "User gave invalid input. Exiting..."
|
die "User gave invalid input. Exiting..."
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue