File: preinst

package info (click to toggle)
php-horde-core 2.15.0+debian0-1+deb8u1
  • links: PTS, VCS
  • area: main
  • in suites: jessie
  • size: 7,396 kB
  • ctags: 5,941
  • sloc: php: 24,591; xml: 3,488; sh: 14; makefile: 14
file content (20 lines) | stat: -rw-r--r-- 404 bytes parent folder | download | duplicates (5)
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