projects
/
monkeysphere.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
updating copyright year in debian postinst packaging
[monkeysphere.git]
/
packaging
/
debian
/
monkeysphere.postinst
diff --git
a/packaging/debian/monkeysphere.postinst
b/packaging/debian/monkeysphere.postinst
index 6b12ee86a5100dc079728a65f6bff22106661cb2..8c6a555d2de8b52430a28cb87dceabaf087b269e 100755
(executable)
--- a/
packaging/debian/monkeysphere.postinst
+++ b/
packaging/debian/monkeysphere.postinst
@@
-3,7
+3,7
@@
# postinst script for monkeysphere
# Author: Jameson Rollins <jrollins@finestructure.net>
# postinst script for monkeysphere
# Author: Jameson Rollins <jrollins@finestructure.net>
-# Copyright 2008-20
09
+# Copyright 2008-20
10
set -e
set -e
@@
-21,8
+21,15
@@
case $1 in
monkeysphere
fi
monkeysphere
fi
- # try to transition from to 0.23:
- /usr/share/monkeysphere/transitions/0.23
+ # try all available transitions:
+ for trans in 0.23 0.28 ; do
+ /usr/share/monkeysphere/transitions/$trans || { \
+ RET=$?
+ echo "Failed running transition script /usr/share/monkeysphere/transitions/$trans" >&2
+ exit $RET
+ }
+ done
+
# setup monkeysphere authentication
monkeysphere-authentication setup
# setup monkeysphere authentication
monkeysphere-authentication setup