aboutsummaryrefslogtreecommitdiff
path: root/lib/tools
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2019-03-22 14:39:02 -0700
committerBruce Hill <bruce@bruce-hill.com>2019-03-22 14:39:02 -0700
commit24f347fd0cd91dc2198e8b6c56fb4c7a1c08df2d (patch)
tree7acab9694a9cb790cbc4ef07681a47a54866d3b9 /lib/tools
parentf0f3c7e0bb42f67868a840f19492c69e03b7cf17 (diff)
--upgrade-from= should not require a compatibility module of that exact
name to exist, especially for Nomsu upgrades
Diffstat (limited to 'lib/tools')
-rwxr-xr-xlib/tools/upgrade.nom4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/tools/upgrade.nom b/lib/tools/upgrade.nom
index ae8c639..65e9e68 100755
--- a/lib/tools/upgrade.nom
+++ b/lib/tools/upgrade.nom
@@ -19,8 +19,6 @@ command line program with $args:
if $start_version:
try:
use $start_version
- ..if it fails:
- fail "Could not find upgrade rules for \$start_version"
$version = ($args."upgrade-to" or $(NOMSU VERSION))
$test = ($args.t or $args.test)
for $filename in $args.extras:
@@ -46,4 +44,4 @@ command line program with $args:
say (bright "\$filename will be changed")
else:
- say $text inline \ No newline at end of file
+ say $text inline