summarylogtreecommitdiffstats
path: root/patch.diff
diff options
context:
space:
mode:
authornotdodo2021-06-15 20:12:20 +0200
committernotdodo2021-06-15 20:12:20 +0200
commitf5ea8e040f621d7e42ef4f13a087d7cb4ffde952 (patch)
treea0fb9b4d7f99e6a0e45074fdb1e9867001aa2d2b /patch.diff
parent33bfc7c192d62923f1e6545294386e16ddb2aec2 (diff)
downloadaur-regripper-git.tar.gz
updates
Diffstat (limited to 'patch.diff')
-rw-r--r--patch.diff30
1 files changed, 12 insertions, 18 deletions
diff --git a/patch.diff b/patch.diff
index a7a940286fc3..91fce857cbec 100644
--- a/patch.diff
+++ b/patch.diff
@@ -1,5 +1,7 @@
-diff --git a/rip.pl b/rip.pl
-index a8045b0..6682a68 100644
+diff--git a/rip.pl b/rip.pl
+old mode 100644
+new mode 100755
+index 59dfcbe..ecc4f14
--- a/rip.pl
+++ b/rip.pl
@@ -1,4 +1,4 @@
@@ -8,19 +10,11 @@ index a8045b0..6682a68 100644
#-------------------------------------------------------------------------
# Rip - RegRipper, CLI version
# Use this utility to run a plugins file or a single plugin against a Reg
-@@ -65,7 +65,7 @@ $str =~ s/($path[scalar(@path) - 1])//;
- # code updated 20190318
- my $plugindir;
- ($^O eq "MSWin32") ? ($plugindir = $str."plugins/")
-- : ($plugindir = File::Spec->catfile("plugins"));
-+ : ($plugindir = File::Spec->catfile("/usr/share/regripper/plugins"));
- #my $plugindir = $str."plugins/";
- #my $plugindir = File::Spec->catfile("plugins");
- #print "Plugins Dir = ".$plugindir."\n";
-@@ -557,4 +557,4 @@ sub getDateFromEpoch {
- my ($sec,$min,$hour,$mday,$mon,$year) = gmtime($epoch);
- my $fmt = sprintf("%04d-%02d-%02d %02d:%02d:%02d",(1900 + $year),($mon + 1),$mday,$hour,$min,$sec);
- return $fmt;
--}
-\ No newline at end of file
-+}
+@@ -57,6 +57,8 @@ my %config;
+ Getopt::Long::Configure("prefix_pattern=(-|\/)");
+ GetOptions(\%config,qw(reg|r=s file|f=s csv|c dirty|d auto|a autoTLN|aT guess|g user|u=s sys|s=s plugin|p=s update|uP list|l help|?|h));
+
++my $plugindir = "/usr/share/regripper/plugins/";
++
+ # Retrieves absolute path to executable
+ my $scriptpath = Cwd::realpath($0);