Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=fun.git;a=commitdiff;h=5add9f57c16c7c8d4bccb1deb7ba688911a5e711

commit 5add9f57c16c7c8d4bccb1deb7ba688911a5e711
Author: Priyank <[EMAIL PROTECTED]>
Date:   Thu Dec 20 15:47:35 2007 +0530

removed unwanted file updnotify.py

diff --git a/src/updnotify b/src/updnotify
deleted file mode 100644
index 23e2ce6..0000000
--- a/src/updnotify
+++ /dev/null
@@ -1,24 +0,0 @@
-#!/usr/bin/python
-
-import os, sys, dbus
-
-bus = dbus.SystemBus()
-object = bus.get_object('org.frugalware.UpdNotifier', 
'/org/frugalware/UpdNotifier')
-
-if len(sys.argv) < 2:
-       print "Must specify an action: start, stop, changeprofile"
-       sys.exit(1)
-
-def doUpdateCheck():
-       print "checking for updates..." ,
-       ret = object.PerformUpdate()
-       if ret == 0:
-               print "success"
-       else:
-               print "failed"
-
-if sys.argv[1] == "start":
-       doUpdateCheck()
-else:
-       print "Invalid action. Valid actions are: start, stop, changeprofile"
-       sys.exit(1)
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to