|
@@ -13,5 +13,5 @@ version=$(dpkg -l | awk '$2=="hestia" { print $3 }')
|
|
|
|
|
|
|
|
# Set hestia version if different.
|
|
# Set hestia version if different.
|
|
|
if [ "$VERSION" != "$version" ]; then
|
|
if [ "$VERSION" != "$version" ]; then
|
|
|
- sed -I "s/VERSION='$VERSION'/VERSION='$version'/" /usr/local/hestia/conf/hestia.conf
|
|
|
|
|
|
|
+ sed -i "s/VERSION='$VERSION'/VERSION='$version'/g" /usr/local/hestia/conf/hestia.conf
|
|
|
fi
|
|
fi
|