diff options
author | B. Watson <urchlay@slackware.uk> | 2023-07-08 01:44:29 -0400 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2023-07-15 17:30:10 +0700 |
commit | 1e279f4fc41ae0bc0d91ed4916063c88478c3833 (patch) | |
tree | 97c5bbf1af748bb7c03dc982cd088a0dc7f6131c /system/ccd2cue | |
parent | 317b7eede52bf5b7031b7268601fa06621d48bdb (diff) |
system/ccd2cue: Handle /usr/info/dir.
Signed-off-by: B. Watson <urchlay@slackware.uk>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/ccd2cue')
-rw-r--r-- | system/ccd2cue/ccd2cue.SlackBuild | 6 | ||||
-rw-r--r-- | system/ccd2cue/doinst.sh | 6 |
2 files changed, 11 insertions, 1 deletions
diff --git a/system/ccd2cue/ccd2cue.SlackBuild b/system/ccd2cue/ccd2cue.SlackBuild index ebc1a158066b3..8f688aedd8c17 100644 --- a/system/ccd2cue/ccd2cue.SlackBuild +++ b/system/ccd2cue/ccd2cue.SlackBuild @@ -6,11 +6,13 @@ # Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. +# 20230708 bkw: BUILD=2, add doinst/douninst for /usr/info/dir. + cd $(dirname $0) ; CWD=$(pwd) PRGNAM=ccd2cue VERSION=${VERSION:-0.5} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -84,6 +86,8 @@ 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 +cat $CWD/doinst.sh > $PKG/install/douninst.sh cd $PKG /sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/system/ccd2cue/doinst.sh b/system/ccd2cue/doinst.sh new file mode 100644 index 0000000000000..1bef5020286ea --- /dev/null +++ b/system/ccd2cue/doinst.sh @@ -0,0 +1,6 @@ +if [ -x /usr/bin/install-info -a -d usr/info ]; then + ( cd usr/info + rm -f dir + for i in *.info*; do /usr/bin/install-info $i dir 2>/dev/null; done + ) +fi |