aboutsummaryrefslogtreecommitdiff
path: root/system/gencfs/gencfs.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/gencfs/gencfs.SlackBuild')
-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 b8622b603924..4fd11fec5bd4 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