root/pbibuild/modules/armagetron/overlay-dir/scripts/removepbi.sh

Revision 1123, 344 bytes (checked in by gonzalo, 12 months ago)

Armagetron added

Line 
1#!/bin/sh
2# 1 = PBI Name
3# 2 = Title
4
5PROGNAME="CHANGEME"
6
7kdialog --title "Confirm Removal" --yesno "Are you sure you want to remove Armagetron?"
8if [ "$?" = "0" ]
9then
10  kdialog --passivepopup "Removing Armagetron..." 10000 &
11  PID=$!
12
13  kdesu "PBIdelete -remove ${PROGNAME}" 
14
15  kill -9 $PID
16  kdialog --msgbox "Armagetron was removed!"
17fi
Note: See TracBrowser for help on using the browser.