diff options
author | Marco Pesenti Gritti <mpg@redhat.com> | 2007-03-18 12:48:34 (GMT) |
---|---|---|
committer | Marco Pesenti Gritti <mpg@redhat.com> | 2007-03-18 12:48:34 (GMT) |
commit | 154a0e91ffece83fd1e7ef836c6faaa83166e93c (patch) | |
tree | 8c9ccfd4326cd646352f29a9389c3d3ebd401d49 /tools | |
parent | 3fd29884f952ea96fcc003b9611c83612759a64b (diff) |
Create ~/Activities only when necessary
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/build-snapshot.sh | 2 | ||||
-rwxr-xr-x | tools/sugar-install-bundle | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/tools/build-snapshot.sh b/tools/build-snapshot.sh index 1b55685..13c9a66 100755 --- a/tools/build-snapshot.sh +++ b/tools/build-snapshot.sh @@ -1,6 +1,6 @@ VERSION=0.63 DATE=`date +%Y%m%d` -RELEASE=2.53 +RELEASE=2.55 TARBALL=sugar-$VERSION-$RELEASE.${DATE}git.tar.bz2 rm sugar-$VERSION.tar.bz2 diff --git a/tools/sugar-install-bundle b/tools/sugar-install-bundle index a66cd81..359c1c0 100755 --- a/tools/sugar-install-bundle +++ b/tools/sugar-install-bundle @@ -28,6 +28,8 @@ proxy_obj = bus.get_object(DBUS_SERVICE, DBUS_PATH) dbus_service = dbus.Interface(proxy_obj, DBUS_SERVICE) bundle_dir = env.get_user_activities_path() +if not os.path.isdir(bundle_dir): + os.mkdir(bundle_dir) zip_file = zipfile.ZipFile(sys.argv[1]) file_names = zip_file.namelist() |