diff options
author | Axel Beckert <abe@deuxchevaux.org> | 2015-03-08 12:15:36 +0100 |
---|---|---|
committer | Axel Beckert <abe@deuxchevaux.org> | 2015-03-08 12:17:23 +0100 |
commit | b3f1e6e499a974c23ef55e9b040800619363b2dc (patch) | |
tree | e8369e2b213e30d8da12cb1fc63fdc2342940f56 | |
parent | 18288a7675f5dd434eb6fbc0c8559ffc620d831f (diff) | |
download | zsh-b3f1e6e499a974c23ef55e9b040800619363b2dc.tar.gz zsh-b3f1e6e499a974c23ef55e9b040800619363b2dc.zip |
Remove zsh4 wrappers, they were only needed for Wheezy → Jessie
-rw-r--r-- | debian/TODO.md | 1 | ||||
-rwxr-xr-x | debian/rules | 2 | ||||
-rw-r--r-- | debian/zsh-static.install | 1 | ||||
-rw-r--r-- | debian/zsh-static.lintian-overrides | 3 | ||||
-rw-r--r-- | debian/zsh.install | 1 | ||||
-rw-r--r-- | debian/zsh.lintian-overrides | 3 | ||||
-rwxr-xr-x | debian/zsh4 | 26 |
7 files changed, 0 insertions, 37 deletions
diff --git a/debian/TODO.md b/debian/TODO.md index 0cba7190d..4c6bc803f 100644 --- a/debian/TODO.md +++ b/debian/TODO.md @@ -6,7 +6,6 @@ After the Jessie-Release * Remove zsh-beta* packages * Remove alternatives system properly -* Remove zsh4* wrappers Decisions --------- diff --git a/debian/rules b/debian/rules index 8408b9c1e..f6cf14d4b 100755 --- a/debian/rules +++ b/debian/rules @@ -203,8 +203,6 @@ binary-arch-static: build-static dh_strip -pzsh-static mv debian/zsh-static/bin/zsh debian/zsh-static/bin/zsh5-static - mv debian/zsh-static/bin/zsh4 debian/zsh-static/bin/zsh4-static - sed -e 's:#!/bin/zsh5:#!/bin/zsh5-static:' -i debian/zsh-static/bin/zsh4-static dh_installchangelogs -pzsh-static diff --git a/debian/zsh-static.install b/debian/zsh-static.install index 174565504..51a712325 100644 --- a/debian/zsh-static.install +++ b/debian/zsh-static.install @@ -1,2 +1 @@ obj-static/Src/zsh bin -debian/zsh4 bin diff --git a/debian/zsh-static.lintian-overrides b/debian/zsh-static.lintian-overrides index 329347316..91d63bf29 100644 --- a/debian/zsh-static.lintian-overrides +++ b/debian/zsh-static.lintian-overrides @@ -3,6 +3,3 @@ zsh-static: embedded-library bin/zsh5-static: ncurses zsh-static: package-contains-broken-symlink usr/share/man/man1/zsh5-static.1.gz zsh.1.gz # False positive zsh-static: spelling-error-in-binary bin/zsh5-static tEH the -# Just a migration wrapper which is not meant to be used -zsh-static: binary-without-manpage bin/zsh4-static -zsh-static: unusual-interpreter bin/zsh4-static #!/bin/zsh5-static diff --git a/debian/zsh.install b/debian/zsh.install deleted file mode 100644 index a6113c5c5..000000000 --- a/debian/zsh.install +++ /dev/null @@ -1 +0,0 @@ -debian/zsh4 bin diff --git a/debian/zsh.lintian-overrides b/debian/zsh.lintian-overrides index 32823ac3b..5cbb27ba2 100644 --- a/debian/zsh.lintian-overrides +++ b/debian/zsh.lintian-overrides @@ -2,6 +2,3 @@ zsh: hardening-no-fortify-functions usr/lib*/zsh/*/zsh/zleparameter.so # False positive zsh: spelling-error-in-binary usr/lib/*/zsh/*/zsh/zle.so tEH the -# Just a migration wrapper which is not meant to be used -zsh: binary-without-manpage bin/zsh4 -zsh: unusual-interpreter bin/zsh4 #!/bin/zsh5 diff --git a/debian/zsh4 b/debian/zsh4 deleted file mode 100755 index 53065cfca..000000000 --- a/debian/zsh4 +++ /dev/null @@ -1,26 +0,0 @@ -#!/bin/zsh5 -f - -# This wrapper's sole purpose is to ease the migration of zsh's binary -# location from /bin/zsh4 to /bin/zsh5 between Debian Wheezy and Jessie. -# -# See https://bugs.debian.org/707760 for reasoning, details and -# discussion. - -if [[ "$0" == *zsh4* ]]; then - static='' - if [[ "$0" == *static* ]]; then - static=-static - fi - - echo "" - echo " ####" - echo " #### $0 is deprecated, please switch to /bin/zsh${static} (or /usr/bin/zsh)" - if [[ "$1" == "-l" || "$0" == -* ]]; then - echo ' #### Use "chsh -s '"/bin/zsh${static}"'" to change your login shell' - fi - echo " #### This command ($0) will disappear eventually!" - echo " ####" - echo "" -fi 1>&2 - -exec "/bin/zsh5${static}" "$@" |