Commit e0dcea93 authored by Dietmar Maurer's avatar Dietmar Maurer

avoid error in triggers

test if /etc/pve is mounted; else simple exit
parent 544413f3
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 pve-manager (2.0-4) unstable; urgency=low
* fixes in pvestatd * fixes in pvestatd
......
...@@ -21,6 +21,10 @@ case "$1" in ...@@ -21,6 +21,10 @@ case "$1" in
# We don't print a status message here, as dpkg already said # We don't print a status message here, as dpkg already said
# "Processing triggers for ...". # "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 pvedaemon restart
test -e /proxmox_install_mode || invoke-rc.d pvestatd restart test -e /proxmox_install_mode || invoke-rc.d pvestatd restart
test -e /proxmox_install_mode || invoke-rc.d apache2 restart test -e /proxmox_install_mode || invoke-rc.d apache2 restart
......
...@@ -2,7 +2,7 @@ RELEASE=2.0 ...@@ -2,7 +2,7 @@ RELEASE=2.0
VERSION=2.0 VERSION=2.0
PACKAGE=pve-manager PACKAGE=pve-manager
PACKAGERELEASE=4 PACKAGERELEASE=5
BINDIR=${DESTDIR}/usr/bin BINDIR=${DESTDIR}/usr/bin
PERLLIBDIR=${DESTDIR}/usr/share/perl5 PERLLIBDIR=${DESTDIR}/usr/share/perl5
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment