From 60e7a19aef7297ba3210fb1f1615b129b1918731 Mon Sep 17 00:00:00 2001 From: Gwenhael Le Moine Date: Tue, 12 Jul 2011 12:55:19 +0200 Subject: [PATCH] README is not a binary --- ap/ledger/ledger.SlackBuild | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ap/ledger/ledger.SlackBuild b/ap/ledger/ledger.SlackBuild index 566d8cbf..a7dde30b 100755 --- a/ap/ledger/ledger.SlackBuild +++ b/ap/ledger/ledger.SlackBuild @@ -69,7 +69,8 @@ sed -i 's|^EMACS = .*$|EMACS = emacs|g' Makefile make $NUMJOBS || make || exit 1 make install DESTDIR=$PKG || exit 1 ( cd scripts - for i in *;do + mv README ../README.scripts + for i in *; do cp -a $i $PKG/usr/bin/ledger-$i done ) @@ -80,7 +81,7 @@ find $PKG | xargs file | grep -e "executable" -e "shared object" \ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/scripts cp -a \ - LICENSE NEWS README TODO \ + LICENSE NEWS README TODO README.scripts \ $PKG/usr/doc/$PRGNAM-$VERSION rm -f $PKG/usr/info/dir