Projekt

Obecné

Profil

« Předchozí | Další » 

Revize 1993

Přidáno uživatelem Ondřej Fibich před více než 11 roky(ů)

freenetis_1.1.0~alpha36

Opravy:
- closes #643: update databaze neprobiha na zatizenych serverech

Zobrazit rozdíly:

freenetis/branches/1.1/application/vendors/deb/freenetis/debianization.sh
# scripts ######################################################################
cp -a -f ../../${NAME}/preinst DEBIAN/preinst
cp -a -f ../../${NAME}/postinst DEBIAN/postinst
cp -a -f ../../${NAME}/postrm DEBIAN/postrm
cp -a -f ../../${NAME}/templates DEBIAN/templates
cp -a -f ../../${NAME}/config DEBIAN/config
cp -a -f ../../${NAME}/conffiles DEBIAN/conffiles
chmod +x DEBIAN/postinst DEBIAN/postrm DEBIAN/config
chmod +x DEBIAN/preinst DEBIAN/postinst DEBIAN/postrm DEBIAN/config
# create deb ###################################################################
freenetis/branches/1.1/application/vendors/deb/freenetis/postinst
# restart
if [ -x /usr/sbin/invoke-rc.d ]; then
invoke-rc.d apache2 reload 3>/dev/null || true
invoke-rc.d apache2 restart 3>/dev/null || true
else
/etc/init.d/apache2 reload 3>/dev/null || true
/etc/init.d/apache2 restart 3>/dev/null || true
fi
# 2) CRON
freenetis/branches/1.1/application/vendors/deb/freenetis/preinst
#!/bin/bash
# FreenetIS DEB: actions before installing of package
set -e
. /usr/share/debconf/confmodule
SERVER=apache2
# shutdown server
if [ -x /usr/sbin/invoke-rc.d ]; then
invoke-rc.d apache2 stop 3>/dev/null || true
else
/etc/init.d/apache2 stop 3>/dev/null || true
fi
#DEBHELPER#
freenetis/branches/1.1/version.php
* The current version of FreenetIS.
* This value must be changed by developers in a new release of FreenetIS.
*/
define('FREENETIS_VERSION', '1.1.0~alpha35');
define('FREENETIS_VERSION', '1.1.0~alpha36');

Také k dispozici: Unified diff