mirror of
https://github.com/serghey-rodin/vesta.git
synced 2024-12-03 19:00:24 -08:00
34 lines
946 B
Bash
Executable File
34 lines
946 B
Bash
Executable File
#!/bin/bash
|
|
# info: update all vesta packages
|
|
# options: USER [RESTART]
|
|
#
|
|
# The function of updating all vesta packages
|
|
|
|
|
|
#----------------------------------------------------------#
|
|
# Variable&Function #
|
|
#----------------------------------------------------------#
|
|
|
|
# Importing system variables
|
|
source /etc/profile
|
|
|
|
# Includes
|
|
source $VESTA/func/main.sh
|
|
source $VESTA/conf/vesta.conf
|
|
|
|
|
|
#----------------------------------------------------------#
|
|
# Action #
|
|
#----------------------------------------------------------#
|
|
|
|
# Starting update loop
|
|
for package in vesta vesta-nginx vesta-php vesta-ioncube vesta-softaculous; do
|
|
$BIN/v-update-sys-vesta "$package"
|
|
done
|
|
|
|
#----------------------------------------------------------#
|
|
# Vesta #
|
|
#----------------------------------------------------------#
|
|
|
|
exit
|