projects
/
invirt/packages/invirt-web.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Require invirt-web POSTs to have proper referers
[invirt/packages/invirt-web.git]
/
debian
/
invirt-web.preinst
diff --git
a/debian/invirt-web.preinst
b/debian/invirt-web.preinst
index
3245702
..
aaaeb0e
100644
(file)
--- a/
debian/invirt-web.preinst
+++ b/
debian/invirt-web.preinst
@@
-19,6
+19,10
@@
case "$1" in
if ! getent group invirt > /dev/null; then
addgroup --system invirt
fi
+
+ if dpkg --compare-versions "$2" lt 0.1.6~; then
+ mv /var/www/invirt-web /var/www/invirt-web.bak || :
+ fi
;;
abort-upgrade)