This commit is contained in:
2025-10-25 00:26:25 -03:00
parent d1918bf063
commit 2357d1cf04

View File

@@ -150,12 +150,6 @@ existing_lima=$(crontab -l 2>/dev/null | grep -F '@reboot sleep 30 && find /etc/
if [ -z "$existing_lima" ]; then if [ -z "$existing_lima" ]; then
(crontab -l 2>/dev/null; echo '@reboot sleep 30 && find /etc/DragonTeste -name "*.sh" -exec {} \;') | crontab - (crontab -l 2>/dev/null; echo '@reboot sleep 30 && find /etc/DragonTeste -name "*.sh" -exec {} \;') | crontab -
fi fi
if dpkg -s libssl1.1 &>/dev/null; then
echo "libssl1.1 is already installed."
else
echo "deb http://security.ubuntu.com/ubuntu focal-security main" | tee /etc/apt/sources.list.d/focal-security.list
apt-get update && apt-get install -y libssl1.1
fi
bash <(php /opt/DragonCore/postinstall.php installpostgre) bash <(php /opt/DragonCore/postinstall.php installpostgre)
#Gerar DBS: #Gerar DBS:
php /opt/DragonCore/menu.php createautostart php /opt/DragonCore/menu.php createautostart