snapshot of https://github.com/jitsi/jicofo.git @ 9ab59aa3d348e282da89da2c9f11ecbecd3f7b79 (2026-09-15)
This commit is contained in:
14
debian/preinst
vendored
Normal file
14
debian/preinst
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
#!/bin/bash
|
||||
# preinst script for jicofo
|
||||
|
||||
set -e
|
||||
echo "Running preinst $@"
|
||||
|
||||
if [ "$1" == "upgrade" ] ;then
|
||||
if [ -d /etc/logrotate.d/jicofo ] ;then
|
||||
# An earlier version of the package incorrectly installed a directory in logrotate.d. If that's the case
|
||||
# remove it, so the file can be properly installed.
|
||||
echo "/etc/logrotate.d/jicofo is a directory, removing."
|
||||
rm -rf /etc/logrotate.d/jicofo
|
||||
fi
|
||||
fi
|
||||
Reference in New Issue
Block a user