Control: tags -1 patch

On 23/01/18 20:04, Adrian Bunk wrote:
> Control: retitle -1 dash upgrade fails, resulting in /bin/sh linking to 
> nonexisting dash binary
> 
> The symlink is actually still there, /bin/dash is missing at that point:
> 
> $ ls -la /bin/sh /bin/dash
> ls: cannot access '/bin/dash': No such file or directory
> lrwxrwxrwx 1 root root 4 Jan 23 19:53 /bin/sh -> dash
> $ 

$ dpkg -L dash
/.
/usr
/usr/bin
/usr/bin/dash

The attached patch works in a quick test.

James
diff -Nru dash-0.5.8/debian/changelog dash-0.5.8/debian/changelog
--- dash-0.5.8/debian/changelog 2018-01-23 14:13:35.000000000 +0000
+++ dash-0.5.8/debian/changelog 2018-01-23 20:41:35.000000000 +0000
@@ -1,3 +1,10 @@
+dash (0.5.8-2.7) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Move dash from /usr/bin to /bin. (Closes: #888180)
+
+ -- James Cowgill <jcowg...@debian.org>  Tue, 23 Jan 2018 20:41:35 +0000
+
 dash (0.5.8-2.6) unstable; urgency=medium
 
   * Non-maintainer upload.
diff -Nru dash-0.5.8/debian/dash.install dash-0.5.8/debian/dash.install
--- dash-0.5.8/debian/dash.install      2018-01-23 14:13:35.000000000 +0000
+++ dash-0.5.8/debian/dash.install      2018-01-23 20:41:09.000000000 +0000
@@ -1 +1,2 @@
-/usr
+/usr/bin/dash  /bin
+/usr/share

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to