pvincent 4 days ago
parent
commit
20ca7e6b13
  1. 4
      install.sh
  2. 2
      lib/init.bash

4
install.sh

@ -16,8 +16,6 @@ function bootstrap {
tar -xzf main.tar.gz --directory "$DESTINATION"
echo "directory: miaou-bash successfully deployed to $DESTINATION"
popd || return 3
else
echo "directory: miaou-bash already deployed!"
fi
local source_bin="$DESTINATION/miaou-bash/bin/miaou-bash"
@ -25,8 +23,6 @@ function bootstrap {
if ! cmp -s "$source_bin" "$dest_bin"; then
cp -f "$source_bin" "$dest_bin"
echo "executable: /usr/bin/miaou-bash freshly created"
else
echo "executable: /usr/bin/miaou-bash up-to-date!"
fi
export MIAOU_BASH_DIR="$DESTINATION/miaou-bash"

2
lib/init.bash

@ -27,8 +27,6 @@ function link_etc {
if [[ "$(readlink "$destination/$filename")" != "$source/$filename" ]]; then
ln -sf "$source/$filename" "$destination"
echo "link $source/$filename updated"
else
echo "link $source/$filename already enabled!"
fi
else
if [[ -f "$destination/$filename" ]]; then

Loading…
Cancel
Save