From ed4a46ba6ca329dbc014f20d940ee48b835dc763 Mon Sep 17 00:00:00 2001 From: Matteo Bernardini Date: Sun, 17 Nov 2013 10:46:32 +0100 Subject: desktop/lxde-common: Removed the su_cmd option (see upstream). Signed-off-by: Matteo Bernardini --- desktop/lxde-common/lxde-common.SlackBuild | 9 ++++++--- 1 file 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 # * Switched from gksu-polkit to ktsuss. # * Small cleanups and fixes. +# 0.5.5-4: 14/nov/2013 by Matteo Bernardini +# * 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 -- cgit v1.2.3