mirror of
https://github.com/myvesta/vesta
synced 2025-08-19 21:04:07 -07:00
Update v-clean-garbage
This commit is contained in:
parent
5007cc2edf
commit
43ebf79c34
1 changed files with 4 additions and 2 deletions
|
@ -4,9 +4,8 @@
|
||||||
#
|
#
|
||||||
# The function is cleaning all unnecessary files like logs
|
# The function is cleaning all unnecessary files like logs
|
||||||
|
|
||||||
|
|
||||||
#----------------------------------------------------------#
|
#----------------------------------------------------------#
|
||||||
# Verifications #
|
# Verifications & Variable & Function #
|
||||||
#----------------------------------------------------------#
|
#----------------------------------------------------------#
|
||||||
|
|
||||||
whoami=$(whoami)
|
whoami=$(whoami)
|
||||||
|
@ -15,6 +14,9 @@ if [ "$whoami" != "root" ]; then
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Includes
|
||||||
|
source /usr/local/vesta/func/main.sh
|
||||||
|
|
||||||
#----------------------------------------------------------#
|
#----------------------------------------------------------#
|
||||||
# Action #
|
# Action #
|
||||||
#----------------------------------------------------------#
|
#----------------------------------------------------------#
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue