Adjust RPM scriptlets to work on RHEL-flavour OSes, too.
This commit is contained in:
parent
7a7e7ca359
commit
88586c8f86
4 changed files with 4 additions and 4 deletions
|
@ -1,7 +1,7 @@
|
|||
#!/bin/sh
|
||||
set -e
|
||||
|
||||
if [ "$1" = "install" ] || [ "$1" = "upgrade" ]; then
|
||||
if [ "$1" = "install" ] || [ "$1" = "upgrade" ] || [ "$1" = "1" ]; then
|
||||
# Migration of old to new config file name
|
||||
oldconfigfile="/etc/ntfy/config.yml"
|
||||
configfile="/etc/ntfy/server.yml"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue