fix inst-rasp.sh

This commit is contained in:
Gilles Mouchet 2024-06-29 15:59:34 +02:00
parent 0b2c7e3ed8
commit 74746016fc

View File

@ -84,11 +84,13 @@ function delete_folder() {
}
#-----------------------------------------------------------------------------
# Clean upset timezone
# cleanup /tmp folder (if during the last execution the script ended with
# an error)
#-----------------------------------------------------------------------------
printInfo "CleanUp"
printInfo "Cleanup"
delete_folder "/tmp/yumupd"
delete_folder "/tmp/hostsupd"
printSuccess "Cleanup completed"
#-----------------------------------------------------------------------------
# install rootfs-expand
@ -121,10 +123,6 @@ else
# printSuccess "Root partition extended"
fi
#-----------------------------------------------------------------------------
# cleanup /tmp/file
#-----------------------------------------------------------------------------
#-----------------------------------------------------------------------------
# install package python
#-----------------------------------------------------------------------------
@ -209,11 +207,12 @@ printSuccess "Role updated successfully"
#printSuccess "Ansible playbook finished"
#-----------------------------------------------------------------------------
# Clean upset timezone
# Cleanup /tmp folder
#-----------------------------------------------------------------------------
printInfo "CleanUp"
printInfo "Cleanup"
delete_folder "/tmp/yumupd"
delete_folder "/tmp/hostsupd"
printSuccess "Cleanup completed"
#-----------------------------------------------------------------------------
# set timezone