fix install
This commit is contained in:
+1
-1
@@ -32,7 +32,7 @@ set -Eeuo pipefail
|
|||||||
! assert_supported_distro && echo 'unsupported distro: debian-like OR arch-like expected' && exit 2
|
! assert_supported_distro && echo 'unsupported distro: debian-like OR arch-like expected' && exit 2
|
||||||
|
|
||||||
export MIAOU_BASH_DIR
|
export MIAOU_BASH_DIR
|
||||||
if [[ -L /etc/inputrc && "$(readlink /etc/inputrc)" == "$MIAOU_BASH_DIR"/etc/inputrc ]]; then
|
if [[ -d "$MIAOU_BASH_DIR" && -L /etc/inputrc && "$(readlink /etc/inputrc)" == "$MIAOU_BASH_DIR"/etc/inputrc ]]; then
|
||||||
miaou-bash "$MIAOU_BASH_DIR/lib/self-upgrade.bash"
|
miaou-bash "$MIAOU_BASH_DIR/lib/self-upgrade.bash"
|
||||||
else
|
else
|
||||||
bootstrap
|
bootstrap
|
||||||
|
|||||||
Reference in New Issue
Block a user