mirror of
https://git.launchpad.net/ubuntu-dev-tools
synced 2025-03-24 17:31:09 +00:00
Drop preinst (pbuilder-dist bash_completion handling), it is not required
for any current upgrade path on Debian or Ubuntu.
This commit is contained in:
parent
9ea8f738fc
commit
54f082b6e8
4
debian/changelog
vendored
4
debian/changelog
vendored
@ -2,8 +2,10 @@ ubuntu-dev-tools (0.109) UNRELEASED; urgency=low
|
|||||||
|
|
||||||
* Convert debian/copyright to DEP5, make sure all scripts are listed
|
* Convert debian/copyright to DEP5, make sure all scripts are listed
|
||||||
(LP: #692003)
|
(LP: #692003)
|
||||||
|
* Drop preinst (pbuilder-dist bash_completion handling), it is not required
|
||||||
|
for any current upgrade path on Debian or Ubuntu.
|
||||||
|
|
||||||
-- Stefano Rivera <stefanor@ubuntu.com> Sun, 19 Dec 2010 02:26:12 +0200
|
-- Stefano Rivera <stefanor@ubuntu.com> Mon, 20 Dec 2010 11:29:02 +0200
|
||||||
|
|
||||||
ubuntu-dev-tools (0.108) experimental; urgency=low
|
ubuntu-dev-tools (0.108) experimental; urgency=low
|
||||||
|
|
||||||
|
20
debian/ubuntu-dev-tools.preinst
vendored
20
debian/ubuntu-dev-tools.preinst
vendored
@ -1,20 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
set -e
|
|
||||||
|
|
||||||
if [ -e /etc/bash_completion.d/pbuilder-dist/pbuilder-dist ]; then
|
|
||||||
tmp_file="$(mktemp /etc/bash_completion.d/pbuilder-dist.XXXXXX)"
|
|
||||||
mv -fv /etc/bash_completion.d/pbuilder-dist/pbuilder-dist \
|
|
||||||
"$tmp_file"
|
|
||||||
rmdir --ignore-fail-on-non-empty /etc/bash_completion.d/pbuilder-dist
|
|
||||||
# dir non-empty
|
|
||||||
if [ -d /etc/bash_completion.d/pbuilder-dist ]; then
|
|
||||||
echo "W: /etc/bash_completion.d/pbuilder-dist not empty; moving /etc/bash_completion.d/pbuilder-dist out of the way"
|
|
||||||
mv -fv /etc/bash_completion.d/pbuilder-dist /etc/bash_completion.d/pbuilder-dist.dpkg-disabled
|
|
||||||
|
|
||||||
fi
|
|
||||||
mv -fv "$tmp_file" /etc/bash_completion.d/pbuilder-dist
|
|
||||||
fi
|
|
||||||
|
|
||||||
#DEBHELPER#
|
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user