Skip to content

Commit 55b908c

Browse files
author
Kristan Kenney
authored
Merge recent fixes into development branch
2 parents 009b6de + 52e2f58 commit 55b908c

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

src/deb/hestia/postinst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ fi
1818

1919
# Set new hestia version in conf file
2020
if [ "$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
2222
fi
2323

2424
exit 0

src/deb/hestia/preinst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,5 @@ version=$(dpkg -l | awk '$2=="hestia" { print $3 }')
1313

1414
# Set hestia version if different.
1515
if [ "$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
1717
fi

0 commit comments

Comments
 (0)