aboutsummaryrefslogtreecommitdiff
path: root/desktop/lxde-common
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/lxde-common')
-rw-r--r--desktop/lxde-common/lxde-common.SlackBuild9
1 files changed, 6 insertions, 3 deletions
diff --git a/desktop/lxde-common/lxde-common.SlackBuild b/desktop/lxde-common/lxde-common.SlackBuild
index 10bf4ff798755..85209baf1c4b3 100644
--- a/desktop/lxde-common/lxde-common.SlackBuild
+++ b/desktop/lxde-common/lxde-common.SlackBuild
@@ -47,6 +47,9 @@
# 0.5.5-3: 07/jun/2013 by Matteo Bernardini <ponce@slackbuilds.org>
# * Switched from gksu-polkit to ktsuss.
# * Small cleanups and fixes.
+# 0.5.5-4: 14/nov/2013 by Matteo Bernardini <ponce@slackbuilds.org>
+# * Removed the option to switch to root completely
+# (see http://bit.ly/no-more-su-pcmanfm)
#
# Run 'sh lxde-common.SlackBuild' to build a Slackware package.
# The package is created in /tmp .
@@ -56,7 +59,7 @@
PRGNAM=lxde-common
VERSION=${VERSION:-0.5.5}
-BUILD=${BUILD:-3}
+BUILD=${BUILD:-4}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -141,8 +144,8 @@ mkdir -p $PKG/usr/share/apps/kdm/sessions
# patch desktop.conf to use the Tango icon theme
sed -i -e 's#nuoveXT2#Tango#' $PKG/etc/xdg/lxsession/LXDE/desktop.conf
-# patch pcmanfm.conf to use ktsuss by default instead of xdg-su
-sed -i -e "s|su_cmd.*|su_cmd=ktsuss '%s'|" \
+# this option is deprecated upstream
+sed -i -e 's#^su_cmd.*$##' \
$PKG/etc/xdg/pcmanfm/LXDE/pcmanfm.conf
# preserve modified config files