From 984fd4dc83dc60edae9048b5365dcbd55f290b14 Mon Sep 17 00:00:00 2001 From: Markus Rosenstihl Date: Mon, 6 Feb 2017 22:46:25 +0100 Subject: [PATCH] clean up --- clean.sh | 3 ++ debian/damaris-backends.debhelper.log | 52 ----------------------- debian/damaris-backends.substvars | 2 - debian/damaris-modules.debhelper.log | 52 ----------------------- debian/damaris-modules.postinst.debhelper | 31 -------------- debian/damaris-modules.postrm.debhelper | 22 ---------- debian/damaris-modules.preinst.debhelper | 11 ----- debian/damaris-modules.prerm.debhelper | 5 --- debian/damaris-modules.substvars | 1 - debian/files | 2 - 10 files changed, 3 insertions(+), 178 deletions(-) create mode 100644 clean.sh delete mode 100644 debian/damaris-backends.debhelper.log delete mode 100644 debian/damaris-backends.substvars delete mode 100644 debian/damaris-modules.debhelper.log delete mode 100644 debian/damaris-modules.postinst.debhelper delete mode 100644 debian/damaris-modules.postrm.debhelper delete mode 100644 debian/damaris-modules.preinst.debhelper delete mode 100644 debian/damaris-modules.prerm.debhelper delete mode 100644 debian/damaris-modules.substvars delete mode 100644 debian/files diff --git a/clean.sh b/clean.sh new file mode 100644 index 0000000..b8c539c --- /dev/null +++ b/clean.sh @@ -0,0 +1,3 @@ +#!/bin/bash + +dpkg-buildpackage -rfakeroot -Tclean diff --git a/debian/damaris-backends.debhelper.log b/debian/damaris-backends.debhelper.log deleted file mode 100644 index 57d3323..0000000 --- a/debian/damaris-backends.debhelper.log +++ /dev/null @@ -1,52 +0,0 @@ -override_dh_auto_configure dh_auto_configure -dh_auto_configure -dh_auto_build -dh_auto_test -dh_prep -dh_installdirs -dh_auto_install -override_dh_install dh_install -override_dh_install dh_installmodules -dh_install -dh_installdocs -dh_installchangelogs -dh_installexamples -dh_installman -dh_installcatalogs -dh_installcron -dh_installdebconf -dh_installemacsen -dh_installifupdown -dh_installinfo -dh_pysupport -dh_installinit -dh_installmenu -dh_installmime -dh_installmodules -dh_installlogcheck -dh_installlogrotate -dh_installpam -dh_installppp -dh_installudev -dh_installwm -dh_installgsettings -dh_bugfiles -dh_ucf -dh_lintian -dh_gconf -dh_icons -dh_perl -dh_usrlocal -dh_link -dh_installxfonts -dh_compress -dh_fixperms -dh_strip -dh_makeshlibs -dh_shlibdeps -dh_installdeb -dh_gencontrol -dh_md5sums -dh_builddeb -dh_builddeb -dh_builddeb diff --git a/debian/damaris-backends.substvars b/debian/damaris-backends.substvars deleted file mode 100644 index d131348..0000000 --- a/debian/damaris-backends.substvars +++ /dev/null @@ -1,2 +0,0 @@ -shlibs:Depends=libc6 (>= 2.14), libexpat1 (>= 2.0.1), libgcc1 (>= 1:4.1.1), libglib2.0-0 (>= 2.12.0), libstdc++6 (>= 4.9), libxerces-c3.1 -misc:Depends= diff --git a/debian/damaris-modules.debhelper.log b/debian/damaris-modules.debhelper.log deleted file mode 100644 index 57d3323..0000000 --- a/debian/damaris-modules.debhelper.log +++ /dev/null @@ -1,52 +0,0 @@ -override_dh_auto_configure dh_auto_configure -dh_auto_configure -dh_auto_build -dh_auto_test -dh_prep -dh_installdirs -dh_auto_install -override_dh_install dh_install -override_dh_install dh_installmodules -dh_install -dh_installdocs -dh_installchangelogs -dh_installexamples -dh_installman -dh_installcatalogs -dh_installcron -dh_installdebconf -dh_installemacsen -dh_installifupdown -dh_installinfo -dh_pysupport -dh_installinit -dh_installmenu -dh_installmime -dh_installmodules -dh_installlogcheck -dh_installlogrotate -dh_installpam -dh_installppp -dh_installudev -dh_installwm -dh_installgsettings -dh_bugfiles -dh_ucf -dh_lintian -dh_gconf -dh_icons -dh_perl -dh_usrlocal -dh_link -dh_installxfonts -dh_compress -dh_fixperms -dh_strip -dh_makeshlibs -dh_shlibdeps -dh_installdeb -dh_gencontrol -dh_md5sums -dh_builddeb -dh_builddeb -dh_builddeb diff --git a/debian/damaris-modules.postinst.debhelper b/debian/damaris-modules.postinst.debhelper deleted file mode 100644 index e6717ec..0000000 --- a/debian/damaris-modules.postinst.debhelper +++ /dev/null @@ -1,31 +0,0 @@ -# Automatically added by dh_installmodules -if [ "$1" = "configure" ]; then - if [ -e /boot/System.map-4.8.0-0.bpo.2-amd64 ]; then - depmod -a -F /boot/System.map-4.8.0-0.bpo.2-amd64 4.8.0-0.bpo.2-amd64 || true - fi -fi -# End automatically added section -# Automatically added by dh_installinit -if [ -x "/etc/init.d/damaris-modules" ]; then - update-rc.d damaris-modules defaults >/dev/null - invoke-rc.d damaris-modules start || exit $? -fi -# End automatically added section -# Automatically added by dh_installmodules -if [ "$1" = "configure" ]; then - if [ -e /boot/System.map-4.8.0-0.bpo.2-amd64 ]; then - depmod -a -F /boot/System.map-4.8.0-0.bpo.2-amd64 4.8.0-0.bpo.2-amd64 || true - fi -fi -# End automatically added section -# Automatically added by dh_installudev -if [ "$1" = configure ]; then - if [ -e "/etc/udev/rules.d/z60_damaris-modules.rules" ]; then - echo "Preserving user changes to /etc/udev/rules.d/60-damaris-modules.rules ..." - if [ -e "/etc/udev/rules.d/60-damaris-modules.rules" ]; then - mv -f "/etc/udev/rules.d/60-damaris-modules.rules" "/etc/udev/rules.d/60-damaris-modules.rules.dpkg-new" - fi - mv -f "/etc/udev/rules.d/z60_damaris-modules.rules" "/etc/udev/rules.d/60-damaris-modules.rules" - fi -fi -# End automatically added section diff --git a/debian/damaris-modules.postrm.debhelper b/debian/damaris-modules.postrm.debhelper deleted file mode 100644 index 1e2c915..0000000 --- a/debian/damaris-modules.postrm.debhelper +++ /dev/null @@ -1,22 +0,0 @@ -# Automatically added by dh_installmodules -if [ -e /boot/System.map-4.8.0-0.bpo.2-amd64 ]; then - depmod -a -F /boot/System.map-4.8.0-0.bpo.2-amd64 4.8.0-0.bpo.2-amd64 || true -fi -# End automatically added section -# Automatically added by dh_installinit -if [ "$1" = "purge" ] ; then - update-rc.d damaris-modules remove >/dev/null -fi - - -# In case this system is running systemd, we make systemd reload the unit files -# to pick up changes. -if [ -d /run/systemd/system ] ; then - systemctl --system daemon-reload >/dev/null || true -fi -# End automatically added section -# Automatically added by dh_installmodules -if [ -e /boot/System.map-4.8.0-0.bpo.2-amd64 ]; then - depmod -a -F /boot/System.map-4.8.0-0.bpo.2-amd64 4.8.0-0.bpo.2-amd64 || true -fi -# End automatically added section diff --git a/debian/damaris-modules.preinst.debhelper b/debian/damaris-modules.preinst.debhelper deleted file mode 100644 index b3367fb..0000000 --- a/debian/damaris-modules.preinst.debhelper +++ /dev/null @@ -1,11 +0,0 @@ -# Automatically added by dh_installudev -if [ "$1" = install ] || [ "$1" = upgrade ]; then - if [ -e "/etc/udev/rules.d/z60_damaris-modules.rules" ]; then - if [ "`md5sum \"/etc/udev/rules.d/z60_damaris-modules.rules\" | sed -e \"s/ .*//\"`" = \ - "`dpkg-query -W -f='${Conffiles}' damaris-modules | sed -n -e \"\\\\' /etc/udev/rules.d/z60_damaris-modules.rules '{s/ obsolete$//;s/.* //p}\"`" ] - then - rm -f "/etc/udev/rules.d/z60_damaris-modules.rules" - fi - fi -fi -# End automatically added section diff --git a/debian/damaris-modules.prerm.debhelper b/debian/damaris-modules.prerm.debhelper deleted file mode 100644 index 29de3e6..0000000 --- a/debian/damaris-modules.prerm.debhelper +++ /dev/null @@ -1,5 +0,0 @@ -# Automatically added by dh_installinit -if [ -x "/etc/init.d/damaris-modules" ]; then - invoke-rc.d damaris-modules stop || exit $? -fi -# End automatically added section diff --git a/debian/damaris-modules.substvars b/debian/damaris-modules.substvars deleted file mode 100644 index abd3ebe..0000000 --- a/debian/damaris-modules.substvars +++ /dev/null @@ -1 +0,0 @@ -misc:Depends= diff --git a/debian/files b/debian/files deleted file mode 100644 index bd27202..0000000 --- a/debian/files +++ /dev/null @@ -1,2 +0,0 @@ -damaris-backends_0.16+nmu803_amd64.deb science optional -damaris-modules_0.16+nmu803_amd64.deb science optional