aports/testing/openfire/openfire.post-install
Bart Ribbers 9fe970a1de testing/openfire: move from community and remove maintainer
It's maintainer has been inactive for 2 years and is not responding to
any pings
2024-12-03 15:20:26 +01:00

18 lines
451 B
Bash
Executable file

#!/bin/sh
_ofhome=/var/lib/openfire
for conf in "$_ofhome"/conf/openfire.xml \
"$_ofhome"/conf/security.xml \
"$_ofhome"/resources/security/client.truststore \
"$_ofhome"/resources/security/keystore \
"$_ofhome"/resources/security/truststore
do
if [ -f "$conf" ]
then
printf "$conf exists. Not creating new one. \n\n"
else
printf "Copying new $conf \n"
cp -av "$conf".default "$conf" || printf "Copying new $conf failed. \n\n"
fi
done