avoid error in triggers

test if /etc/pve is mounted; else simple exit
This commit is contained in:
Dietmar Maurer 2011-10-04 07:02:02 +02:00
parent 544413f3b4
commit e0dcea939a
3 changed files with 13 additions and 1 deletions

View File

@ -1,3 +1,11 @@
pve-manager (2.0-5) unstable; urgency=low
* implemented openvz create wizard
* avoid error in dpkg triggers
-- Proxmox Support Team <support@proxmox.com> Tue, 04 Oct 2011 07:03:50 +0200
pve-manager (2.0-4) unstable; urgency=low
* fixes in pvestatd

4
debian/postinst vendored
View File

@ -21,6 +21,10 @@ case "$1" in
# We don't print a status message here, as dpkg already said
# "Processing triggers for ...".
# test if /etc/pve is mounted; else simple exit to avoid
# error during updates
test -f /etc/pve/local/pve-ssl.pem || exit 0;
test -e /proxmox_install_mode || invoke-rc.d pvedaemon restart
test -e /proxmox_install_mode || invoke-rc.d pvestatd restart
test -e /proxmox_install_mode || invoke-rc.d apache2 restart

View File

@ -2,7 +2,7 @@ RELEASE=2.0
VERSION=2.0
PACKAGE=pve-manager
PACKAGERELEASE=4
PACKAGERELEASE=5
BINDIR=${DESTDIR}/usr/bin
PERLLIBDIR=${DESTDIR}/usr/share/perl5