Always creating apport symlink not only on ubuntu.
authorDaniel Baumann <daniel@debian.org>
Sun, 15 Apr 2012 17:46:18 +0000 (17:46 +0000)
committerDaniel Baumann <daniel@debian.org>
Sun, 15 Apr 2012 17:46:18 +0000 (17:46 +0000)
debian/pcmanfm.links [new file with mode: 0644]
debian/rules

diff --git a/debian/pcmanfm.links b/debian/pcmanfm.links
new file mode 100644 (file)
index 0000000..3a4e7f4
--- /dev/null
@@ -0,0 +1 @@
+/usr/share/apport/package-hooks/source_libfm.py        /usr/share/apport/package-hooks/source_pcmanfm.py
index 7db2278..31e95e8 100755 (executable)
@@ -1,16 +1,8 @@
 #!/usr/bin/make -f
 
-UBUNTU = $(shell dpkg-vendor --derives-from Ubuntu && echo yes)
-
 %:
        dh ${@}
 
-override_dh_link:
-       # Symlinks to libfm apport hook only on Ubuntu, until apport call it automaticly.
-ifeq ($(UBUNTU),"yes")
-       dh_link -ppcmanfm usr/share/apport/package-hooks/source_libfm.py usr/share/apport/package-hooks/source_pcmanfm.py
-endif
-
 override_dh_auto_test:
        # disabled: fails with libtool version mismatch.