bugfix, still not working
This commit is contained in:
parent
d2ec804aa2
commit
d4987da90a
10
dist-upgrade.sh
Normal file → Executable file
10
dist-upgrade.sh
Normal file → Executable file
@ -15,7 +15,10 @@
|
||||
printf "What conteiner next?\n"
|
||||
read conteiner_id
|
||||
|
||||
fun_update($conteiner_id) {
|
||||
|
||||
if [[ conteiner_id =~ ^[0-9]+$ ]]; then
|
||||
printf "Doing my part\n"
|
||||
|
||||
pct enter $conteiner_id
|
||||
|
||||
apt update -y
|
||||
@ -33,12 +36,7 @@ fun_update($conteiner_id) {
|
||||
# a lot of defaluts
|
||||
|
||||
exit
|
||||
}
|
||||
|
||||
|
||||
if [[ conteiner_id =~ ^[0-9]+$ ]]; then
|
||||
printf "Doing my part\n"
|
||||
fun_update($conteiner_id)
|
||||
else
|
||||
printf "Sorry what?\n"
|
||||
fi
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user