AlternC/install/upgrades/3.0.0~4.sh

15 lines
358 B
Bash
Raw Permalink Normal View History

#!/bin/bash
. /etc/alternc/local.sh
# Add INOTIFY_UPDATE_DOMAIN var to local.sh
if [ -z "$INOTIFY_UPDATE_DOMAIN" ] ; then
/bin/echo -e '
# File to look at for forced launch of update_domain (use incron)
INOTIFY_UPDATE_DOMAIN="/run/alternc/inotify_update_domain.lock"
' >> /etc/alternc/local.sh
fi
mkdir -p /run/alternc && chown alterncpanel /run/alternc