avoid error in triggers
test if /etc/pve is mounted; else simple exit
This commit is contained in:
parent
544413f3b4
commit
e0dcea939a
8
debian/changelog.Debian
vendored
8
debian/changelog.Debian
vendored
@ -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
4
debian/postinst
vendored
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user