Skip to content

Commit 4c325af

Browse files
authored
Merge pull request hestiacp#2967 from jaapmarcus/fix/v-update-sys-hestia-broken
Fix bug in v-update-sys-hestia
2 parents 203eec2 + a4c42f2 commit 4c325af

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

func/main.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1505,8 +1505,8 @@ multiphp_default_version() {
15051505

15061506
is_hestia_package(){
15071507
check=false;
1508-
for package in $1; do
1509-
if [ $package == "$2" ]; then
1508+
for pkg in $1; do
1509+
if [ "$pkg" == "$2" ]; then
15101510
check="true";
15111511
fi
15121512
done

0 commit comments

Comments
 (0)