Skip to content

Commit

Permalink
patch
Browse files Browse the repository at this point in the history
  • Loading branch information
lbr38 committed Jul 16, 2024
1 parent 172593f commit 9ec83c9
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/packaging/rpm/spec
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,13 @@ if [ -f "/etc/linupdate/linupdate.yml" ];then
fi

# Only if systemd is installed (not the case on github runners)
if [ -f "/usr/bin/systemctl" ];then
# Stop service if started
if /usr/bin/systemctl is-active --quiet linupdate;then
/usr/bin/systemctl stop --quiet linupdate
fi
fi
# TODO: service is not working for now
# if [ -f "/usr/bin/systemctl" ];then
# # Stop service if started
# if /usr/bin/systemctl is-active --quiet linupdate;then
# /usr/bin/systemctl stop --quiet linupdate
# fi
# fi

%install
# Copy local files to the rpm build directory
Expand Down

0 comments on commit 9ec83c9

Please sign in to comment.