|
|
@ -18,15 +18,7 @@ readonly BACKUP='ORIGINAL' |
|
|
# FUNCTIONS |
|
|
# FUNCTIONS |
|
|
|
|
|
|
|
|
function usr_bin_miaou_bash { |
|
|
function usr_bin_miaou_bash { |
|
|
local source_bin="$MIAOU_BASH_DIR/bin/miaou-bash" |
|
|
|
|
|
local dest_bin="/usr/bin/miaou-bash" |
|
|
|
|
|
if ! [[ -f "$dest_bin" ]]; then |
|
|
|
|
|
cp -f "$source_bin" "$dest_bin" |
|
|
|
|
|
echo "/usr/bin/miaou-bash created" |
|
|
|
|
|
elif ! cmp -s "$source_bin" "$dest_bin"; then |
|
|
|
|
|
cp -f "$source_bin" "$dest_bin" |
|
|
|
|
|
echo "/usr/bin/miaou-bash updated" |
|
|
|
|
|
fi |
|
|
|
|
|
|
|
|
ln -sf "$MIAOU_BASH_DIR/bin/miaou-bash" /usr/bin/miaou-bash |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
function install_required_packages { |
|
|
function install_required_packages { |
|
|
|