X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=packaging%2Fdebian%2Fmonkeysphere.postinst;h=4e811672cb7237ec9508c50a81819a863763c121;hb=1080589181dd117ef5ab3549e67d206f8a64e834;hp=6b12ee86a5100dc079728a65f6bff22106661cb2;hpb=a102b1533984b638094727f36f64a56ed5586553;p=monkeysphere.git diff --git a/packaging/debian/monkeysphere.postinst b/packaging/debian/monkeysphere.postinst index 6b12ee8..4e81167 100755 --- a/packaging/debian/monkeysphere.postinst +++ b/packaging/debian/monkeysphere.postinst @@ -21,8 +21,15 @@ case $1 in monkeysphere fi - # try to transition from to 0.23: - /usr/share/monkeysphere/transitions/0.23 + # try all available transitions: + for trans in 0.23 ; 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