Followup-For: Bug #699644
diff -Nru glpi-0.83.31/debian/changelog glpi-0.83.31/debian/changelog --- glpi-0.83.31/debian/changelog 2013-01-25 11:37:11.000000000 +0100 +++ glpi-0.83.31/debian/changelog 2013-02-02 22:04:32.000000000 +0100 @@ -1,3 +1,11 @@ +glpi (0.83.31-2.1) UNRELEASED; urgency=low + + * Non-maintainer upload. + * glpi.postinst: Convert /usr/share/glpi/lib/extjs to a symlink on upgrades. + (Closes: #699644) + + -- Andreas Beckmann <a...@debian.org> Sat, 02 Feb 2013 21:57:36 +0100 + glpi (0.83.31-2) unstable; urgency=high * Security fixes: diff -Nru glpi-0.83.31/debian/glpi.postinst glpi-0.83.31/debian/glpi.postinst --- glpi-0.83.31/debian/glpi.postinst 2010-03-13 11:40:04.000000000 +0100 +++ glpi-0.83.31/debian/glpi.postinst 2013-02-02 21:57:30.000000000 +0100 @@ -8,6 +8,11 @@ if [ "$1" = "configure" ]; then + if [ ! -L /usr/share/glpi/lib/extjs ] && [ -d /usr/share/glpi/lib/extjs ]; then + rmdir /usr/share/glpi/lib/extjs + ln -s ../../javascript/extjs /usr/share/glpi/lib/extjs + fi + db_get glpi/webserver webservers="$RET" reload_servers=""