restore support for old persistence media
[live-boot-grml.git] / debian / patches / grml-specific / package_rename.patch
1 Index: live-boot-grml/Makefile
2 ===================================================================
3 --- live-boot-grml.orig/Makefile        2014-03-08 13:36:52.857434829 +0100
4 +++ live-boot-grml/Makefile     2014-03-08 13:36:52.853435298 +0100
5 @@ -55,8 +55,8 @@
6         cp frontend/* $(DESTDIR)/bin
7  
8         # Installing docs
9 -       mkdir -p $(DESTDIR)/usr/share/doc/live-boot
10 -       cp -r COPYING $(DESTDIR)/usr/share/doc/live-boot
11 +       mkdir -p $(DESTDIR)/usr/share/doc/live-boot-grml
12 +       cp -r COPYING $(DESTDIR)/usr/share/doc/live-boot-grml
13  
14         # Installing manpages
15         for MANPAGE in manpages/en/*; \
16 @@ -90,7 +90,7 @@
17         rmdir --ignore-fail-on-non-empty $(DESTDIR)/usr > /dev/null 2>&1 || true
18  
19         # Uninstalling docs
20 -       rm -rf $(DESTDIR)/usr/share/doc/live-boot
21 +       rm -rf $(DESTDIR)/usr/share/doc/live-boot-grml
22         rmdir --ignore-fail-on-non-empty $(DESTDIR)/usr/share/doc > /dev/null 2>&1 || true
23         rmdir --ignore-fail-on-non-empty $(DESTDIR)/usr/share > /dev/null 2>&1 || true
24         rmdir --ignore-fail-on-non-empty $(DESTDIR)/usr > /dev/null 2>&1 || true