~ubuntu-branches/ubuntu/trusty/phpmyadmin/trusty

« back to all changes in this revision

Viewing changes to debian/preinst

  • Committer: Bazaar Package Importer
  • Author(s): Thijs Kinkhorst
  • Date: 2009-02-16 17:58:28 UTC
  • mfrom: (13.1.4 jaunty)
  • Revision ID: james.westby@ubuntu.com-20090216175828-d2dllrukk9kecv4k
Tags: 4:3.1.2-2
* Upload to unstable.
* [INTL:es] Spanish debconf template update (Closes: #513690).

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#!/bin/sh
2
 
# preinst script for phpmyadmin
3
 
 
4
 
set -e
5
 
 
6
 
# move blowfish secret from /etc to /var/. Can be removed after lenny.
7
 
if [ "$1" = "upgrade" ] && dpkg --compare-versions "$2" lt 4:2.10.0.2-1 &&
8
 
        [ -e /etc/phpmyadmin/blowfish_secret.inc.php ]; then
9
 
        mv /etc/phpmyadmin/blowfish_secret.inc.php \
10
 
                /var/lib/phpmyadmin/
11
 
fi
12
 
                
13
 
 
14
 
 
15
 
#DEBHELPER#
16
 
 
17
 
exit 0
18
 
 
19