X-Git-Url: http://git.cielonegro.org/gitweb.cgi?p=stowinstall.git;a=blobdiff_plain;f=stowinstall;h=600f07bf17712798c78b05f15e30e093d7197d01;hp=72bde3195507e737a06e44c2392b62b54ae6c62f;hb=HEAD;hpb=8a9eac05cf3914aad5bcec0eceac27ef2c730eb6 diff --git a/stowinstall b/stowinstall index 72bde31..600f07b 100755 --- a/stowinstall +++ b/stowinstall @@ -1,4 +1,4 @@ -#!/usr/bin/perl +#!/usr/bin/env perl # -*- cperl -*- use strict; use warnings; @@ -105,7 +105,12 @@ if ($target_install) { print "stowinstall: found target $opt_target.\n"; } else { - die "stowinstall: $opt_target target not found; this $opt_file seems not to support $opt_target!\n"; + if ($opt_force) { + print "stowinstall: $opt_target target not found, but proceeding anyway...\n"; + } + else { + die "stowinstall: $opt_target target not found; this $opt_file seems not to support $opt_target!\n"; + } } if (!-d $stowdir) {