summaryrefslogtreecommitdiff
path: root/DistUpgrade/cdromupgrade
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2006-08-30 16:15:45 +0200
committerMichael Vogt <michael.vogt@ubuntu.com>2006-08-30 16:15:45 +0200
commit23a2d248d3246ba70f883c1ffd41ac7b76b296b9 (patch)
treec995e28193e1dd3d104fe1c4f5bbaf36d8e25663 /DistUpgrade/cdromupgrade
parent3f91306dd33f115e62bffce41b0c1d4c4f2afc06 (diff)
downloadpython-apt-23a2d248d3246ba70f883c1ffd41ac7b76b296b9.tar.gz
* DistUpgrade/Changelog, README, ReleaseAnnouncement
- updated to reflect reality * DistUpgrade/DistUpgradeControler.py: - set the permission for the apt.log file to 0644 * DistUpgrade/cdromupgrade: - updated and comments added * po/*: - make update-po
Diffstat (limited to 'DistUpgrade/cdromupgrade')
-rwxr-xr-xDistUpgrade/cdromupgrade13
1 files changed, 11 insertions, 2 deletions
diff --git a/DistUpgrade/cdromupgrade b/DistUpgrade/cdromupgrade
index d33c56c1..fcebe1c7 100755
--- a/DistUpgrade/cdromupgrade
+++ b/DistUpgrade/cdromupgrade
@@ -4,7 +4,16 @@
# to make it possible to put it onto the top-level dir of a CD and
# run it from there
#
+# Not that useful unfortunately when the CD is mounted "noexec",
+# but useful for the notification-daemon that will just run it
+# and be done with it
+#
+# WARNING: make sure to call it with a absolute path!
+# (e.g. /cdrom/cdromugprade)
+
+UPGRADER_DIR=dists/stable/dist-upgrader/binary-all/
cddirname=${0%\/*}
-cd $cddirname/upgrade
-$cddirname/upgrade/dist-upgrade.py --cdrom $cddirname \ No newline at end of file
+fullpath=$cddirname/$UPGRADER_DIR
+cd $fullpath
+gksu -- python $fullpath/edgy --cdrom $cddirname