Skip to content

Commit

Permalink
#1521: fix post install script (had mixed up install and upgrade)
Browse files Browse the repository at this point in the history
git-svn-id: https://xpra.org/svn/Xpra/trunk@16071 3bb7dfac-3a0b-4e04-842a-767bc560f471
  • Loading branch information
totaam committed Jun 14, 2017
1 parent 67a58ee commit e8d73d6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions rpmbuild/xpra.spec
Original file line number Diff line number Diff line change
Expand Up @@ -680,11 +680,11 @@ restorecon -R /etc/xpra /usr/lib/systemd/system/xpra* /usr/bin/xpra* || :
restorecon -R /run/xpra* /run/user/*/xpra 2> /dev/null || :
restorecon -R /usr/lib/cups/backend/xpraforwarder || :
if [ $1 -eq 1 ]; then
/bin/systemctl daemon-reload >/dev/null 2>&1 || :
/bin/systemctl restart xpra.socket >/dev/null 2>&1 || :
else
/bin/systemctl enable xpra.socket >/dev/null 2>&1 || :
/bin/systemctl start xpra.socket >/dev/null 2>&1 || :
else
/bin/systemctl daemon-reload >/dev/null 2>&1 || :
/bin/systemctl restart xpra.socket >/dev/null 2>&1 || :
fi
%endif

Expand Down

0 comments on commit e8d73d6

Please sign in to comment.