diff options
| author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2011-11-12 18:56:50 +0100 |
|---|---|---|
| committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2011-11-12 18:56:50 +0100 |
| commit | 5df117a774135258ca232f61d181d287dd05cb2a (patch) | |
| tree | b8040dcb082aa8a2cf8007ca61d386fb73f1a1fc /debian/hurd.postinst | |
| parent | af8e0d61fe9058050d44c2ab88115356bcef0eab (diff) | |
Drop /libexec
* patches/libexec.patch, hurd.install, hurd-udeb.install, hurd.postinst,
rules: Move getty, console-run, and runttys to /sbin, runsystem and rc to
/etc/hurd (Closes: Bug#556526).
* hurd-udeb.lintian-overrides: Drop override about /libexec
Diffstat (limited to 'debian/hurd.postinst')
| -rw-r--r-- | debian/hurd.postinst | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/debian/hurd.postinst b/debian/hurd.postinst index 000afe63..23364691 100644 --- a/debian/hurd.postinst +++ b/debian/hurd.postinst @@ -2,8 +2,13 @@ set -e +if [ "$1" = configure ] && [ "$2" ]; then + # Upgrade from old version: drop /libexec/runsystem + update-alternatives --quiet \ + --remove runsystem /libexec/runsystem.gnu +fi update-alternatives --quiet \ - --install /libexec/runsystem runsystem /libexec/runsystem.gnu 20 + --install /etc/hurd/runsystem runsystem /etc/hurd/runsystem.gnu 20 update-alternatives \ --install /usr/bin/fakeroot fakeroot /usr/bin/fakeroot-hurd 30 |
