Revert "add some debugging"
authormirabilos <m@mirbsd.org>
Fri, 14 Dec 2018 00:00:56 +0000 (01:00 +0100)
committermirabilos <mirabilos@evolvis.org>
Fri, 14 Dec 2018 00:00:56 +0000 (01:00 +0100)
This reverts commit 437effee8e2d34735fbb337676e4c5dcca7c42bb.

debian/fluidr3mono-gm-soundfont.postinst
debian/fluidr3mono-gm-soundfont.prerm

index 245f673..350d73e 100644 (file)
@@ -1,12 +1,6 @@
 #!/bin/sh
 
 set -e
-printf 'D: f-g-s.postinst %s\n' >&2 "entered <$1> <$2> |$*|"
-echo >&2 D: link: $(ls -lad /usr/share/sounds/sf3/MuseScore_General.sf3 2>&1)
-echo >&2 D: diversion: $(dpkg-divert --listpackage /usr/share/sounds/sf3/MuseScore_General.sf3 2>&1) or none
-echo >&2 D: diversion target: $(ls -lad /usr/share/sounds/.disabled.MS_General.link 2>&1)
-echo >&2 D: MSSF new: $(ls -lad /usr/share/sounds/sf3/MuseScore_General_Full.sf3 2>&1)
-echo >&2 D: FR3M link: $(ls -lad /usr/share/sounds/sf3/FluidR3Mono_GM.sf3 2>&1)
 
 # This maintainer script can be called the following ways:
 #
@@ -33,14 +27,6 @@ configure)
        update-alternatives --force --install \
            /usr/share/sounds/sf3/MuseScore_General.sf3 MuseScore_General.sf3 \
            /usr/share/sounds/sf3/FluidR3Mono_GM.sf3 25
-
-printf 'D: f-g-s.postinst %s\n' >&2 "configured the link group, state is now:"
-echo >&2 D: link: $(ls -lad /usr/share/sounds/sf3/MuseScore_General.sf3 2>&1)
-echo >&2 D: diversion: $(dpkg-divert --listpackage /usr/share/sounds/sf3/MuseScore_General.sf3 2>&1) or none
-echo >&2 D: diversion target: $(ls -lad /usr/share/sounds/.disabled.MS_General.link 2>&1)
-echo >&2 D: MSSF new: $(ls -lad /usr/share/sounds/sf3/MuseScore_General_Full.sf3 2>&1)
-echo >&2 D: FR3M link: $(ls -lad /usr/share/sounds/sf3/FluidR3Mono_GM.sf3 2>&1)
-printf 'D: f-g-s.postinst %s\n' >&2 done
        ;;
 
 abort-upgrade|abort-remove|abort-deconfigure)
index c61ccd7..1b4b88e 100644 (file)
@@ -1,12 +1,6 @@
 #!/bin/sh
 
 set -e
-printf 'D: f-g-s.prerm %s\n' >&2 "entered <$1> <$2> |$*|"
-echo >&2 D: link: $(ls -lad /usr/share/sounds/sf3/MuseScore_General.sf3 2>&1)
-echo >&2 D: diversion: $(dpkg-divert --listpackage /usr/share/sounds/sf3/MuseScore_General.sf3 2>&1) or none
-echo >&2 D: diversion target: $(ls -lad /usr/share/sounds/.disabled.MS_General.link 2>&1)
-echo >&2 D: MSSF new: $(ls -lad /usr/share/sounds/sf3/MuseScore_General_Full.sf3 2>&1)
-echo >&2 D: FR3M link: $(ls -lad /usr/share/sounds/sf3/FluidR3Mono_GM.sf3 2>&1)
 
 # This maintainer script can be called the following ways:
 #
@@ -28,14 +22,6 @@ case $1 in
 remove|deconfigure)
        update-alternatives --remove MuseScore_General.sf3 \
            /usr/share/sounds/sf3/FluidR3Mono_GM.sf3
-
-printf 'D: f-g-s.prerm %s\n' >&2 "removed alternatives, state is now:"
-echo >&2 D: link: $(ls -lad /usr/share/sounds/sf3/MuseScore_General.sf3 2>&1)
-echo >&2 D: diversion: $(dpkg-divert --listpackage /usr/share/sounds/sf3/MuseScore_General.sf3 2>&1) or none
-echo >&2 D: diversion target: $(ls -lad /usr/share/sounds/.disabled.MS_General.link 2>&1)
-echo >&2 D: MSSF new: $(ls -lad /usr/share/sounds/sf3/MuseScore_General_Full.sf3 2>&1)
-echo >&2 D: FR3M link: $(ls -lad /usr/share/sounds/sf3/FluidR3Mono_GM.sf3 2>&1)
-printf 'D: f-g-s.prerm %s\n' >&2 done
        ;;
 
 upgrade|failed-upgrade)