diff options
Diffstat (limited to 'DistUpgrade/cdromupgrade')
| -rwxr-xr-x | DistUpgrade/cdromupgrade | 13 |
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 |
