summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2021-08-24 22:48:35 -0400
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-10-13 00:51:40 +0700
commit0c5799b4d5c1740efe29a46c3aed369f89395d2b (patch)
tree0a89f6efe8494df936e1f594bfc1447e58abc0fa
parentf2830ecd2a442bb73379aa7601c32ec7d05153c3 (diff)
downloadslackbuilds-0c5799b4d5c1740efe29a46c3aed369f89395d2b.tar.gz
system/linux-vt-setcolors: Remove template comment.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--system/linux-vt-setcolors/linux-vt-setcolors.SlackBuild5
1 files changed, 1 insertions, 4 deletions
diff --git a/system/linux-vt-setcolors/linux-vt-setcolors.SlackBuild b/system/linux-vt-setcolors/linux-vt-setcolors.SlackBuild
index bcbd5cfd80..a359f64422 100644
--- a/system/linux-vt-setcolors/linux-vt-setcolors.SlackBuild
+++ b/system/linux-vt-setcolors/linux-vt-setcolors.SlackBuild
@@ -27,9 +27,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@@ -80,7 +77,7 @@ cp -a LICENSE* README* example-colors $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
+sed "s,\\\$VERSION,$VERSION," $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE