Bds-Maneger-CLI-Debian/DEBIAN/preinst
2021-01-01 22:47:53 -03:00

11 lines
236 B
Bash

#!/bin/bash
echo
echo
if command -v nginx &> /dev/null;then
echo "Let's update the nginx settings"
cp -f "/etc/nginx/sites-available/Minecraft" "/etc/bds-maneger/Minecraft-Nginx-$(TZ=UTC+3 date +"%d_%m_%Y")"
fi
echo
echo
exit 0