|
Revision 186, 1.1 kB
(checked in by free, 1 year ago)
|
* Don't set the default APT distribution with "64studio", as it
interfers with the security updates
* Re-added APT preferences to make sure libqt gets not upgraded
|
| Line | |
|---|
| 1 |
#! /bin/sh |
|---|
| 2 |
# postinst script for 64studio-apt |
|---|
| 3 |
# |
|---|
| 4 |
# see: dh_installdeb(1) |
|---|
| 5 |
|
|---|
| 6 |
set -e |
|---|
| 7 |
|
|---|
| 8 |
APT_KEY=/usr/share/64studio/apt/key |
|---|
| 9 |
|
|---|
| 10 |
# summary of how this script can be called: |
|---|
| 11 |
# * <postinst> `configure' <most-recently-configured-version> |
|---|
| 12 |
# * <old-postinst> `abort-upgrade' <new version> |
|---|
| 13 |
# * <conflictor's-postinst> `abort-remove' `in-favour' <package> |
|---|
| 14 |
# <new-version> |
|---|
| 15 |
# * <deconfigured's-postinst> `abort-deconfigure' `in-favour' |
|---|
| 16 |
# <failed-install-package> <version> `removing' |
|---|
| 17 |
# <conflicting-package> <version> |
|---|
| 18 |
# for details, see http://www.debian.org/doc/debian-policy/ or |
|---|
| 19 |
# the debian-policy package |
|---|
| 20 |
# |
|---|
| 21 |
|
|---|
| 22 |
case "$1" in |
|---|
| 23 |
configure) |
|---|
| 24 |
apt-key add $APT_KEY >> /dev/null |
|---|
| 25 |
# Clean up previous installs |
|---|
| 26 |
rm -f /etc/apt/apt.conf.d/05release |
|---|
| 27 |
;; |
|---|
| 28 |
|
|---|
| 29 |
abort-upgrade|abort-remove|abort-deconfigure) |
|---|
| 30 |
|
|---|
| 31 |
;; |
|---|
| 32 |
|
|---|
| 33 |
*) |
|---|
| 34 |
echo "postinst called with unknown argument \`$1'" >&2 |
|---|
| 35 |
exit 1 |
|---|
| 36 |
;; |
|---|
| 37 |
esac |
|---|
| 38 |
|
|---|
| 39 |
# dh_installdeb will replace this with shell code automatically |
|---|
| 40 |
# generated by other debhelper scripts. |
|---|
| 41 |
|
|---|
| 42 |
#DEBHELPER# |
|---|
| 43 |
|
|---|
| 44 |
exit 0 |
|---|
| 45 |
|
|---|
| 46 |
|
|---|