[Slackbuilds-users] Proposed patch for vcdimager.SlackBuild
Dario Niedermann
dnied at tiscali.it
Tue Jan 29 13:39:44 UTC 2013
The SlackBuild for vcdimager failed locally with the following error:
./vcdimager.SlackBuild: line 81: cd:
/tmp/SBo/package-vcdimager/usr/man: No such file or directory
Now, while this might be due to my Slackware 14 lacking dunno-which
package, it should be noted that vcdimager itself builds fine even
without it.
The SlackBuild should probably keep this into consideration, and `cd`
to '/tmp/SBo/package-vcdimager/usr/man' only if that directory exists,
as per the enclosed patch.
Regards,
DN
-----BEGIN DIFF-----
diff -Ebu vcdimager.SlackBuild{.orig,}
--- vcdimager.SlackBuild.orig 2013-01-29 13:56:13.000000000 +0100
+++ vcdimager.SlackBuild 2013-01-29 14:17:35.000000000 +0100
@@ -78,12 +78,14 @@
make
make DESTDIR=$PKG install
-( cd $PKG/usr/man
+( if [ -d $PKG/usr/man ]; then
+ cd $PKG/usr/man
find -type f -exec gzip -9 {} \;
for deadlink in $(find -type l ! -iname "*.gz"); do
ln -s $(readlink $deadlink).gz $deadlink.gz
rm $deadlink
done
+ fi
)
rm -rf $PKG/usr/info/dir
-----END DIFF-----
More information about the SlackBuilds-users
mailing list