mirror of
https://github.com/donaldzou/WGDashboard.git
synced 2024-11-22 23:27:45 +01:00
Update wgd.sh
This commit is contained in:
parent
fcf9300a49
commit
fd76cabd01
@ -106,7 +106,8 @@ update_wgd() {
|
|||||||
read up
|
read up
|
||||||
if [ "$up" = "Y" ]; then
|
if [ "$up" = "Y" ]; then
|
||||||
printf "| Shutting down WGDashboard... |\n"
|
printf "| Shutting down WGDashboard... |\n"
|
||||||
kill "$(ps aux | grep "[p]ython3 $app_name" | awk '{print $2}')"
|
if check_wgd_status; then
|
||||||
|
stop_wgd
|
||||||
mv wgd.sh wgd.sh.old
|
mv wgd.sh wgd.sh.old
|
||||||
printf "| Downloading %s from GitHub... |\n" "$new_ver"
|
printf "| Downloading %s from GitHub... |\n" "$new_ver"
|
||||||
git stash > /dev/null 2>&1
|
git stash > /dev/null 2>&1
|
||||||
|
Loading…
Reference in New Issue
Block a user