mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-11-19 00:11:16 +00:00
11 lines
No EOL
247 B
Bash
11 lines
No EOL
247 B
Bash
#!/bin/sh
|
|
|
|
set -e
|
|
|
|
# https://docs.fedoraproject.org/en-US/Fedora_Draft_Documentation/0.1/html/RPM_Guide/ch09s04s05.html
|
|
|
|
systemctl daemon-reload || :
|
|
if [ "$1" -ge 1 ] ; then
|
|
# Package upgrade, not uninstall
|
|
systemctl try-restart drone || :
|
|
fi |