File tree Expand file tree Collapse file tree 3 files changed +2
-2
lines changed
web/edit/server/clamav-daemon Expand file tree Collapse file tree 3 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 1818
1919# Set new hestia version in conf file
2020if [ " $VERSION " != " $version " ]; then
21- sed -I " s/VERSION='$VERSION '/VERSION='$version '/" /usr/local/hestia/conf/hestia.conf
21+ sed -i " s/VERSION='$VERSION '/VERSION='$version '/g " /usr/local/hestia/conf/hestia.conf
2222fi
2323
2424exit 0
Original file line number Diff line number Diff line change @@ -13,5 +13,5 @@ version=$(dpkg -l | awk '$2=="hestia" { print $3 }')
1313
1414# Set hestia version if different.
1515if [ " $VERSION " != " $version " ]; then
16- sed -I " s/VERSION='$VERSION '/VERSION='$version '/" /usr/local/hestia/conf/hestia.conf
16+ sed -i " s/VERSION='$VERSION '/VERSION='$version '/g " /usr/local/hestia/conf/hestia.conf
1717fi
File renamed without changes.
You can’t perform that action at this time.
0 commit comments