diff options
author | Fritz Elfert <felfert@to.com> | 2002-07-11 23:38:42 +0000 |
---|---|---|
committer | Fritz Elfert <felfert@to.com> | 2002-07-11 23:38:42 +0000 |
commit | 2aeb116b0d72af0c1fa2b804629985b363bfe51d (patch) | |
tree | 4b6f828f595d8025335293d427242ff88d2a9223 /etc/plptools.spec.in | |
parent | 323c0868af63459a26c485bbbb720a08abd45ae9 (diff) | |
download | plptools-2aeb116b0d72af0c1fa2b804629985b363bfe51d.tar.gz plptools-2aeb116b0d72af0c1fa2b804629985b363bfe51d.tar.bz2 plptools-2aeb116b0d72af0c1fa2b804629985b363bfe51d.zip |
- Fixed broken update of konquerorrc in %post and %preun scriptlets.
Diffstat (limited to 'etc/plptools.spec.in')
-rw-r--r-- | etc/plptools.spec.in | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/etc/plptools.spec.in b/etc/plptools.spec.in index 6c43776..b5edadb 100644 --- a/etc/plptools.spec.in +++ b/etc/plptools.spec.in @@ -231,12 +231,10 @@ cp /etc/rc.config /etc/rc.config.old && mv /etc/rc.config.$$ /etc/rc.config %{_initrddir}/psion condrestart KONQRC=`kde-config --expandvars --install config`/konquerorrc if grep -q '\[Notification Messages\]' $KONQRC ; then -( - sed -n -e '1,/\[Notification Messages\]/p' - echo askSaveinode/x-psion-drive=No - sed -n -e '/\[Notification Messages\]/,$p' | tail +1 -) > /tmp/$$ -mv /tmp/$$ $KONQRC + cat $KONQRC | grep -v "askSaveinode/x-psion-drive=No" | sed \ + -e '/\[Notification Messages\]/a\' \ + -e 'askSaveinode/x-psion-drive=No' > /tmp/$$ + mv /tmp/$$ $KONQRC else cat>>$KONQRC<<EOF |