summaryrefslogtreecommitdiff
path: root/gnome-software-properties
diff options
context:
space:
mode:
Diffstat (limited to 'gnome-software-properties')
-rw-r--r--gnome-software-properties7
1 files changed, 5 insertions, 2 deletions
diff --git a/gnome-software-properties b/gnome-software-properties
index a8074f7e..2e1d5da6 100644
--- a/gnome-software-properties
+++ b/gnome-software-properties
@@ -73,6 +73,9 @@ if __name__ == "__main__":
data_dir="/usr/share/update-manager/"
#data_dir="/tmp/xxx/share/update-manager/"
- app = SoftwareProperties.SoftwareProperties(data_dir, options)
+ file = None
+ if len(args) > 0:
+ file = args[0]
+ app = SoftwareProperties.SoftwareProperties(data_dir, options, file)
app.run()
- sys.exit(app.modified) \ No newline at end of file
+ sys.exit(app.modified)