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