From 4e143c370fafe666b2cb2ac07c95c6a0223519b4 Mon Sep 17 00:00:00 2001 From: Omar Porras Date: Mon, 22 Apr 2013 07:32:11 -0500 Subject: [PATCH] Updated scripts to allow for the use of the --receipts and --gitconfig flags --- script/nuke | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/script/nuke b/script/nuke index d62e098..68c19be 100755 --- a/script/nuke +++ b/script/nuke @@ -6,10 +6,12 @@ unless ENV["USER"] == "root" exec "sudo", $0, *ARGV end -all = false -force = false -opt = false -services = false +all = false +force = false +opt = false +services = false +receipts = false +gitconfig = false OptionParser.new do |o| o.banner = "Remove most traces of Boxen from your machine." @@ -24,7 +26,7 @@ OptionParser.new do |o| o.parse! - abort o.to_s unless all || opt || services + abort o.to_s unless all || opt || services || receipts || gitconfig end unless force