Skip to content

Commit 36345fa

Browse files
committed
Remove -i in sed command
1 parent 051ca87 commit 36345fa

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

install/hst-install-debian.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -347,7 +347,7 @@ conflicts_pkg="exim4 mariadb-server apache2 nginx hestia postfix"
347347

348348
# Drop postfix from the list if exim should not be installed
349349
if [ "$exim" = 'no' ]; then
350-
conflicts_pkg=$(echo $conflicts_pkg | sed -i 's/postfix//g' | xargs)
350+
conflicts_pkg=$(echo $conflicts_pkg | sed 's/postfix//g' | xargs)
351351
fi
352352

353353
for pkg in $conflicts_pkg; do

install/hst-install-ubuntu.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,7 @@ conflicts_pkg="exim4 mariadb-server apache2 nginx hestia postfix ufw"
321321

322322
# Drop postfix from the list if exim should not be installed
323323
if [ "$exim" = 'no' ]; then
324-
conflicts_pkg=$(echo $conflicts_pkg | sed -i 's/postfix//g' | xargs)
324+
conflicts_pkg=$(echo $conflicts_pkg | sed 's/postfix//g' | xargs)
325325
fi
326326

327327
for pkg in $conflicts_pkg; do

0 commit comments

Comments
 (0)