~roadmr/ubuntu/natty/casper/709364

« back to all changes in this revision

Viewing changes to scripts/casper-bottom/48kubuntu_disable_restart_notifications

  • Committer: Jonathan Thomas
  • Date: 2010-10-04 21:44:59 UTC
  • Revision ID: echidnaman@kubuntu.org-20101004214459-bavwygy550fa38p0
Tags: 1.247
Check for the existance of a kubuntu-default-settings directory before
running scripts/casper-bottom/48kubuntu_disable_restart_notifications

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#! /bin/sh
2
2
 
3
 
echo -e "[Event]\nhideRestartNotifier=true" >> /root/usr/share/kubuntu-default-settings/kde-profile/default/share/config/notificationhelper
 
3
if [ -d /root/usr/share/kubuntu-default-settings/ ]; then
 
4
    echo "[Event]\nhideRestartNotifier=true" >> /root/usr/share/kubuntu-default-settings/kde-profile/default/share/config/notificationhelper
 
5
fi