aboutsummaryrefslogtreecommitdiff
path: root/utils/inst
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2016-10-30 11:32:06 +0100
committerKarel Kočí <cynerd@email.cz>2016-10-30 11:32:06 +0100
commit84dbccf8bea8d6bf7ac4258ab9fe54ce55650730 (patch)
tree4912f1255a7a9f01aa7aebd4ac41c08125377430 /utils/inst
parentd23728eb7c32fe112a9154b0889d39f1c4a98ecd (diff)
downloadmyconfigs-84dbccf8bea8d6bf7ac4258ab9fe54ce55650730.tar.gz
myconfigs-84dbccf8bea8d6bf7ac4258ab9fe54ce55650730.tar.bz2
myconfigs-84dbccf8bea8d6bf7ac4258ab9fe54ce55650730.zip
Add list of installed packages on archlinux
Diffstat (limited to 'utils/inst')
-rw-r--r--utils/inst4
1 files changed, 2 insertions, 2 deletions
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