fix inst-rasp.sh
This commit is contained in:
parent
0b2c7e3ed8
commit
74746016fc
15
inst-raps.sh
15
inst-raps.sh
@ -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/yumupd"
|
||||||
delete_folder "/tmp/hostsupd"
|
delete_folder "/tmp/hostsupd"
|
||||||
|
printSuccess "Cleanup completed"
|
||||||
|
|
||||||
#-----------------------------------------------------------------------------
|
#-----------------------------------------------------------------------------
|
||||||
# install rootfs-expand
|
# install rootfs-expand
|
||||||
@ -121,10 +123,6 @@ else
|
|||||||
# printSuccess "Root partition extended"
|
# printSuccess "Root partition extended"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
#-----------------------------------------------------------------------------
|
|
||||||
# cleanup /tmp/file
|
|
||||||
#-----------------------------------------------------------------------------
|
|
||||||
|
|
||||||
#-----------------------------------------------------------------------------
|
#-----------------------------------------------------------------------------
|
||||||
# install package python
|
# install package python
|
||||||
#-----------------------------------------------------------------------------
|
#-----------------------------------------------------------------------------
|
||||||
@ -209,11 +207,12 @@ printSuccess "Role updated successfully"
|
|||||||
#printSuccess "Ansible playbook finished"
|
#printSuccess "Ansible playbook finished"
|
||||||
|
|
||||||
#-----------------------------------------------------------------------------
|
#-----------------------------------------------------------------------------
|
||||||
# Clean upset timezone
|
# Cleanup /tmp folder
|
||||||
#-----------------------------------------------------------------------------
|
#-----------------------------------------------------------------------------
|
||||||
printInfo "CleanUp"
|
printInfo "Cleanup"
|
||||||
delete_folder "/tmp/yumupd"
|
delete_folder "/tmp/yumupd"
|
||||||
delete_folder "/tmp/hostsupd"
|
delete_folder "/tmp/hostsupd"
|
||||||
|
printSuccess "Cleanup completed"
|
||||||
|
|
||||||
#-----------------------------------------------------------------------------
|
#-----------------------------------------------------------------------------
|
||||||
# set timezone
|
# set timezone
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user