diff options
author | Colin Guthrie <colin@mageia.org> | 2013-04-28 18:25:23 +0000 |
---|---|---|
committer | Colin Guthrie <colin@mageia.org> | 2013-04-28 18:25:23 +0000 |
commit | 52803a8fad83f906945a37ce046de4d2c5e64af0 (patch) | |
tree | e3bd45ae4f3b509f8b1a6e9cb986886fceede858 /mgaapplet-upgrade-helper | |
parent | f4416168ecb5744bc0683a5ed49b5ca02c4014d4 (diff) | |
download | mgaonline-52803a8fad83f906945a37ce046de4d2c5e64af0.tar mgaonline-52803a8fad83f906945a37ce046de4d2c5e64af0.tar.gz mgaonline-52803a8fad83f906945a37ce046de4d2c5e64af0.tar.bz2 mgaonline-52803a8fad83f906945a37ce046de4d2c5e64af0.tar.xz mgaonline-52803a8fad83f906945a37ce046de4d2c5e64af0.zip |
Exit if we don't pass --new_distro_version agument.
Diffstat (limited to 'mgaapplet-upgrade-helper')
-rwxr-xr-x | mgaapplet-upgrade-helper | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/mgaapplet-upgrade-helper b/mgaapplet-upgrade-helper index 56457b6e..3791ec04 100755 --- a/mgaapplet-upgrade-helper +++ b/mgaapplet-upgrade-helper @@ -53,6 +53,8 @@ foreach my $opt (@ARGV) { } } +die("Usage: mgaapplet-upgrade-helper --new_distro_version=n [--rpm-root-dir] [--urpmi-root=dir] [--download-all=dir]\n") if !$new_distro_version; + my $root = Rpmdrake::open_db::fast_open_urpmi_db()->{root}; my $product_id = get_product_id(); |