summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjohannst <stoelp@eit.uni-kl.de>2018-03-05 21:41:50 +0100
committerjohannst <stoelp@eit.uni-kl.de>2018-03-05 21:41:50 +0100
commitbc9a72c21ab78c440be126e424ffd7367467c1e8 (patch)
tree57a9d54bcf14c1cda631e3226cecbd133cc809d7
parent1aea15ca853755f9b8b67f8141e7095431c6a419 (diff)
downloaddotfiles-bc9a72c21ab78c440be126e424ffd7367467c1e8.tar.gz
dotfiles-bc9a72c21ab78c440be126e424ffd7367467c1e8.zip
added correct return value to non implemented install handlers
-rwxr-xr-xinstall6
1 files changed, 4 insertions, 2 deletions
diff --git a/install b/install
index 159b352..935b630 100755
--- a/install
+++ b/install
@@ -45,7 +45,7 @@ function gdbrcInstaller() {
touch $gdbinit
grep $gMagicNumber $gdbinit > /dev/null 2>&1
if [[ $? = 0 ]]; then
- return
+ return 1
fi
if [ ! -d $gdbdir ]; then mkdir $gdbdir; fi
echo -e "\n# $gMagicNumber - Auto generated, do not delete or modify!" >> $gdbinit
@@ -57,6 +57,7 @@ function gdbrcInstaller() {
function cgdbrcInstaller() {
echo "cgdbrcInstaller called"
+ return 1
}
#}}}
@@ -64,6 +65,7 @@ function cgdbrcInstaller() {
function conkyrcInstaller() {
echo "conkyrcInstaller called"
+ return 1
}
#}}}
@@ -126,7 +128,7 @@ function vimConfigInstaller() {
function xtermConfigInstaller() {
echo "xtermConfigInstaller called"
- return 0
+ return 1
}
#}}}