Skip to content

Commit 5e51189

Browse files
committed
Correct test for SUSE.
1 parent a226d59 commit 5e51189

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packaging/rpm-script/postinst.sh.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ then
5353
sudo initctl stop shiny-server 2>/dev/null
5454
sudo initctl start shiny-server
5555
else
56-
if test -d /etc/SuSE-release
56+
if test -e /etc/SuSE-release
5757
then
5858
cp ${CMAKE_INSTALL_PREFIX}/shiny-server/config/init.d/suse/shiny-server /etc/init.d/
5959
else

0 commit comments

Comments
 (0)