Commits

M0E-lnx  committed 61b5d27

Moving permissions fix to a later place because .desktop file is not getting correct permissions

  • Participants
  • Parent commits 79e93ac

Comments (0)

Files changed (1)

File var/vabs/firefox/src/firefox.SlackBuild

   install -m 644 icons/{default,mozicon50}.xpm chrome/icons/default/
 )
 
-# Fix wrong perms
-
-find $PKG/usr/lib${LIBDIRSUFFIX}/firefox-$VERSION -perm 700 -exec chmod 755 {} \;
-find $PKG/usr/lib${LIBDIRSUFFIX}/firefox-$VERSION -perm 600 -exec chmod 644 {} \;
-chmod a+x $PKG/usr/lib${LIBDIRSUFFIX}/firefox-$VERSION
-chmod 644 $PKG/usr/share/applications/firefox.desktop
-
 # Menu entry - http://standards.freedesktop.org/desktop-entry-spec/latest/
 
 if test -f $CWD/$NAME.png; then
 $PKG/usr/doc/$NAME-$VERSION
 cat $CWD/$NAME.SlackBuild > $PKG/usr/doc/$NAME-$VERSION/$NAME.SlackBuild
 
+# Fix wrong perms
+
+find $PKG/usr/lib${LIBDIRSUFFIX}/firefox-$VERSION -perm 700 -exec chmod 755 {} \;
+find $PKG/usr/lib${LIBDIRSUFFIX}/firefox-$VERSION -perm 600 -exec chmod 644 {} \;
+chmod a+x $PKG/usr/lib${LIBDIRSUFFIX}/firefox-$VERSION
+chmod 644 $PKG/usr/share/applications/firefox.desktop
+
+
 #----------------------------------------------------------------------
 
 if [ -d $PKG/usr/share/man ] ; then