File: preinst

package info (click to toggle)
php-horde-core 2.27.6%2Bdebian1-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 8,368 kB
  • ctags: 6,126
  • sloc: php: 26,083; xml: 4,239; sh: 18; makefile: 11
file content (20 lines) | stat: -rw-r--r-- 404 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/bin/sh

set -e

#DEBHELPER#

case "$1" in
  install|upgrade)
    # jquery.mobile was previously a symlink to jquery-mobile (<= 2.4.3-1),
    # but as it was missing jquery, the directory was put back. However,
    # dpkg does not delete the symlink on upgrade...
    if [ -L /usr/share/horde/js/jquery.mobile ]; then
        rm /usr/share/horde/js/jquery.mobile
    fi
    ;;
  *)
    ;;
esac

exit 0