diff options
-rw-r--r-- | desktop/avant-window-navigator/avant-window-navigator.SlackBuild | 3 | ||||
-rw-r--r-- | desktop/avant-window-navigator/doinst.sh | 10 |
2 files changed, 12 insertions, 1 deletions
diff --git a/desktop/avant-window-navigator/avant-window-navigator.SlackBuild b/desktop/avant-window-navigator/avant-window-navigator.SlackBuild index 30cbeddb75..9f47efc703 100644 --- a/desktop/avant-window-navigator/avant-window-navigator.SlackBuild +++ b/desktop/avant-window-navigator/avant-window-navigator.SlackBuild @@ -25,7 +25,7 @@ PRGNAM=avant-window-navigator VERSION=0.4.0 -BUILD=${BUILD:-3} +BUILD=${BUILD:-4} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -114,6 +114,7 @@ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc +cat $CWD/doinst.sh > $PKG/install/doinst.sh cd $PKG /sbin/makepkg -l y -c n -p $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} diff --git a/desktop/avant-window-navigator/doinst.sh b/desktop/avant-window-navigator/doinst.sh index 1f8ff67ded..8a4691e67c 100644 --- a/desktop/avant-window-navigator/doinst.sh +++ b/desktop/avant-window-navigator/doinst.sh @@ -1,3 +1,11 @@ +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 +} + if [ -x /usr/bin/update-desktop-database ]; then /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1 fi @@ -8,3 +16,5 @@ if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then fi fi +schema_install avant-window-navigator.schemas +schema_install awn-applet-taskmanager.schemas |