summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/src-unregister11
1 files changed, 7 insertions, 4 deletions
diff --git a/bin/src-unregister b/bin/src-unregister
index 40abce0d..751ccddf 100755
--- a/bin/src-unregister
+++ b/bin/src-unregister
@@ -35,10 +35,13 @@ system "src-register-all";
die "src-register-all failed\n" unless ($? == 0);
my @known_repos;
-open my $fh, "<", "$ENV{HOME}/.mrconfig";
-while (<$fh>) {
- if (/^\[(src\/.+)\]$/) {
- push @known_repos, catfile($ENV{HOME}, $1);
+for my $f ("$ENV{HOME}/.mrconfig",
+ "$ENV{HOME}/src/dotfiles/lib-src/mr/config") {
+ open my $fh, "<", $f;
+ while (<$fh>) {
+ if (/^\[(src\/.+)\]$/) {
+ push @known_repos, catfile($ENV{HOME}, $1);
+ }
}
}