Revert "add some debugging"
authormirabilos <t.glaser@tarent.de>
Fri, 14 Dec 2018 00:00:22 +0000 (01:00 +0100)
committermirabilos <mirabilos@evolvis.org>
Fri, 14 Dec 2018 00:00:22 +0000 (01:00 +0100)
This reverts commit 7fcd1fa3b8e951304622ddc33552866d2ae22aff.

debian/musescore-general-soundfont.postinst
debian/musescore-general-soundfont.postrm
debian/musescore-general-soundfont.preinst
debian/musescore-general-soundfont.prerm

index 12b98ad..5ddabd1 100644 (file)
@@ -1,12 +1,6 @@
 #!/bin/sh
 
 set -e
-printf 'D: m-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,13 +27,6 @@ configure)
        update-alternatives --force --install \
            /usr/share/sounds/sf3/MuseScore_General.sf3 MuseScore_General.sf3 \
            /usr/share/sounds/sf3/MuseScore_General_Full.sf3 50
-printf 'D: m-g-s.postinst %s\n' >&2 "set up alternatives:"
-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: m-g-s.postinst %s\n' >&2 "done"
        ;;
 
 abort-upgrade|abort-remove|abort-deconfigure)
index 43520d6..9fc0eb3 100644 (file)
@@ -1,12 +1,6 @@
 #!/bin/sh
 
 set -e
-printf 'D: m-g-s.postrm %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:
 #
@@ -37,12 +31,6 @@ remove)
            --listpackage /usr/share/sounds/sf3/MuseScore_General.sf3)"; then
 echo >&2 would clean up diversion here
        fi
-printf 'D: m-g-s.postrm %s\n' >&2 "dropped diversion, state is finally:"
-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)
        ;;
 
 purge)
index 2677ee0..ca015a6 100644 (file)
@@ -1,12 +1,6 @@
 #!/bin/sh
 
 set -e
-printf 'D: m-g-s.preinst %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:
 #
@@ -31,14 +25,7 @@ install|upgrade)
                # can probably be removed after buster except for in backports
                (dpkg-divert --package musescore-general-soundfont --rename \
                    --remove /usr/share/sounds/sf3/MuseScore_General.sf3 || :)
-printf 'D: m-g-s.preinst %s\n' >&2 "removed the diversion, 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)
        fi
-printf 'D: m-g-s.preinst %s\n' >&2 done
        ;;
 
 abort-upgrade)
index b681550..cdd0720 100644 (file)
@@ -1,12 +1,6 @@
 #!/bin/sh
 
 set -e
-printf 'D: m-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/MuseScore_General_Full.sf3
-
-printf 'D: m-g-s.prerm %s\n' >&2 "dropped the alternative:"
-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: m-g-s.prerm %s\n' >&2 done
        ;;
 
 upgrade|failed-upgrade)