diff options
author | B. Watson <yalhcru@gmail.com> | 2020-01-03 04:08:52 -0500 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2020-01-03 04:44:14 -0600 |
commit | 79eb57cac32290f7d01eaf4cb2bc3fdd4601a0ea (patch) | |
tree | 63ef3cb7a8194bed346f94466e42bcc86da07119 /graphics/abcm2ps | |
parent | df51275d987b29e3b5e39d9580fe651f7699fefa (diff) |
graphics/abcm2ps: Fix slack-desc, remove unused doinst.sh.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Diffstat (limited to 'graphics/abcm2ps')
-rw-r--r-- | graphics/abcm2ps/abcm2ps.info | 1 | ||||
-rw-r--r-- | graphics/abcm2ps/doinst.sh | 63 | ||||
-rw-r--r-- | graphics/abcm2ps/slack-desc | 2 |
3 files changed, 1 insertions, 65 deletions
diff --git a/graphics/abcm2ps/abcm2ps.info b/graphics/abcm2ps/abcm2ps.info index ae6feafe846d6..76e6ee435f6fc 100644 --- a/graphics/abcm2ps/abcm2ps.info +++ b/graphics/abcm2ps/abcm2ps.info @@ -8,4 +8,3 @@ MD5SUM_x86_64="" REQUIRES="" MAINTAINER="Michales Michaloudes" EMAIL="korgie@gmail.com" - diff --git a/graphics/abcm2ps/doinst.sh b/graphics/abcm2ps/doinst.sh deleted file mode 100644 index 1cdfb9ee43a58..0000000000000 --- a/graphics/abcm2ps/doinst.sh +++ /dev/null @@ -1,63 +0,0 @@ -config() { - NEW="$1" - OLD="$(dirname $NEW)/$(basename $NEW .new)" - # If there's no config file by that name, mv it over: - if [ ! -r $OLD ]; then - mv $NEW $OLD - elif [ "$(cat $OLD | md5sum)" = "$(cat $NEW | md5sum)" ]; then - # toss the redundant copy - rm $NEW - fi - # Otherwise, we leave the .new copy for the admin to consider... -} - -preserve_perms() { - NEW="$1" - OLD="$(dirname $NEW)/$(basename $NEW .new)" - if [ -e $OLD ]; then - cp -a $OLD ${NEW}.incoming - cat $NEW > ${NEW}.incoming - mv ${NEW}.incoming $NEW - fi - config $NEW -} - -schema_install() { - SCHEMA="$1" - GCONF_CONFIG_SOURCE="xml::etc/gconf/gconf.xml.defaults" \ - chroot . gconftool-2 --makefile-install-rule \ - /etc/gconf/schemas/$SCHEMA \ - 1>/dev/null -} - -schema_install blah.schemas -preserve_perms etc/rc.d/rc.INIT.new -config etc/configfile.new - -if [ -x /usr/bin/update-desktop-database ]; then - /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1 -fi - -if [ -x /usr/bin/update-mime-database ]; then - /usr/bin/update-mime-database usr/share/mime >/dev/null 2>&1 -fi - -# If other icon themes are installed, then add to/modify this as needed -if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then - if [ -x /usr/bin/gtk-update-icon-cache ]; then - /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1 - fi -fi - -if [ -e usr/share/glib-2.0/schemas ]; then - if [ -x /usr/bin/glib-compile-schemas ]; then - /usr/bin/glib-compile-schemas usr/share/glib-2.0/schemas >/dev/null 2>&1 - fi -fi - -# If needed -- be sure to sed @LIBDIR@ inside the build script -chroot . /usr/bin/gio-querymodules @LIBDIR@/gio/modules/ 1> /dev/null 2> /dev/null - -if [ -x /usr/bin/install-info ]; then - chroot . /usr/bin/install-info --info-dir=/usr/info /usr/info/blah.gz 2> /dev/null -fi diff --git a/graphics/abcm2ps/slack-desc b/graphics/abcm2ps/slack-desc index 0d1e2960d420e..a3cd274738791 100644 --- a/graphics/abcm2ps/slack-desc +++ b/graphics/abcm2ps/slack-desc @@ -10,7 +10,7 @@ abcm2ps: abcm2ps (converts abc music notation to ps or SVG) abcm2ps: abcm2ps: abcm2ps is a C program which converts music tunes from the ABC music abcm2ps: notation to PostScript or SVG. -abcm2ps: +abcm2ps: abcm2ps: Based on the abc2ps version 1.2.5 from Michael Methfessel, it was abcm2ps: first developped to print barock organ scores that have independant abcm2ps: voices played on one or many keyboards and a pedal-board |