Skip to content

Instantly share code, notes, and snippets.

@xaicron
Created March 20, 2010 15:37
Show Gist options
  • Select an option

  • Save xaicron/338723 to your computer and use it in GitHub Desktop.

Select an option

Save xaicron/338723 to your computer and use it in GitHub Desktop.
diff --git a/bin/pm-uninstall b/bin/pm-uninstall
index 32b7fcb..0439174 100755
--- a/bin/pm-uninstall
+++ b/bin/pm-uninstall
@@ -135,6 +135,7 @@ sub uninstall_from_packlist {
print -f $_ ? 'unlink ' : 'not found', " : $_\n" if $opt->{verbose};
unlink $_ or warn "$_: $!\n";
}
+ close $fh;
unlink $packlist;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment