summaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2013-11-17 10:46:32 +0100
committerHeinz Wiesinger <pprkut@slackbuilds.org>2013-11-18 08:03:06 +0100
commited4a46ba6ca329dbc014f20d940ee48b835dc763 (patch)
tree51bfbf86052c6e6d14fa8c10b21f9348f18eb468 /desktop
parent1607fee815979c31febcae667851d2cd7d0b3059 (diff)
downloadslackbuilds-ed4a46ba6ca329dbc014f20d940ee48b835dc763.tar.gz
desktop/lxde-common: Removed the su_cmd option (see upstream).
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'desktop')
-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 10bf4ff798..85209baf1c 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