aboutsummaryrefslogtreecommitdiff
path: root/system
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2022-04-11 20:25:42 -0400
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-04-16 12:11:20 +0700
commitb072333aadaddac0f565fd2ee720bb58cac622e9 (patch)
tree4d6867cfdacb799a721aca6e728bf073a5cc40da /system
parentd0fcaefcbe422b0b1c70e8391a0f7f3b38aa6322 (diff)
system/gencfs: Fix .desktop.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system')
-rw-r--r--system/gencfs/gencfs.SlackBuild6
1 files changed, 4 insertions, 2 deletions
diff --git a/system/gencfs/gencfs.SlackBuild b/system/gencfs/gencfs.SlackBuild
index b8622b603924b..4fd11fec5bd4d 100644
--- a/system/gencfs/gencfs.SlackBuild
+++ b/system/gencfs/gencfs.SlackBuild
@@ -22,13 +22,14 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20220411 bkw: Modified by SlackBuilds.org, BUILD=3: *actually* fix .desktop file.
# 20220211 bkw: Modified by SlackBuilds.org: fix build on 15.0, fix .desktop file.
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=gencfs
VERSION=${VERSION:-1.2}
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -78,7 +79,7 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+
-sed -i '/Icon=/s,=.*,/usr/share/pixmaps/gencfs.png,' src/$PRGNAM.desktop
+sed -i '/Icon=/s,=.*,=/usr/share/pixmaps/gencfs.png,' src/$PRGNAM.desktop
SLKCFLAGS+=" -fcommon"
@@ -94,6 +95,7 @@ cd build
cd ..
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+rm -f $PKG/usr/doc/$PRGNAM-$VERSION/INSTALL
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc