summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/query.sh2
-rwxr-xr-xsrc/xi.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/query.sh b/src/query.sh
index 7292434..1da2e2f 100644
--- a/src/query.sh
+++ b/src/query.sh
@@ -16,7 +16,7 @@ search () {
files () {
for package in $@; do
local file="${INSTALLED_DIR}/$package/files"
- [ -f $file ] && cat $file || >&2 printf "${RED}Package ${LIGHT_RED}$package${RED} is not installed"
+ [ -f $file ] && cat $file || >&2 printf "${RED}Package ${LIGHT_RED}$package${RED} is not installed\n"
done
}
diff --git a/src/xi.sh b/src/xi.sh
index 815fd67..5d76c6c 100755
--- a/src/xi.sh
+++ b/src/xi.sh
@@ -172,7 +172,7 @@ else
;;
*)
$DO_SYNC && sync
- fetch $@
+ install $@
;;
esac
fi