app-misc/diff-so-fancy: initial import

Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
Alessandro Barbieri
2021-05-03 08:23:10 +02:00
parent e3d04544b9
commit 4784c3a100
4 changed files with 61 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
--- a/diff-so-fancy
+++ b/diff-so-fancy
@@ -9,7 +9,7 @@
use File::Basename; # For dirname
use Encode; # For handling UTF8 stuff
use Cwd qw(abs_path); # For realpath()
-use lib dirname(abs_path(File::Spec->catdir($0))) . "/lib"; # Add the local lib/ to @INC
+use lib "/usr/share/diff-so-fancy";
use DiffHighlight;
use strict;