From 84dbccf8bea8d6bf7ac4258ab9fe54ce55650730 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Sun, 30 Oct 2016 11:32:06 +0100 Subject: Add list of installed packages on archlinux --- utils/inst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'utils/inst') diff --git a/utils/inst b/utils/inst index 46cae0c..9c15496 100644 --- a/utils/inst +++ b/utils/inst @@ -23,7 +23,7 @@ dodiff() { vimdiff "$1" "$OUT" } -diff() { +checkdiff() { # Iterate trough source directory but ignore any git repositories # Note that it's design decision to not iterate trough target directory. if [ -d "$1" ]; then @@ -82,7 +82,7 @@ doinst() { inst() { if [ -e "$2" ]; then # If output exists, execute diff instead - diff $1 $2 + checkdiff $1 $2 return fi doinst $1 $2 -- cgit v1.2.3