install2
This commit is contained in:
+1
-1
@@ -27,8 +27,8 @@ deployment_type_adjective="${1:-installed}"
|
|||||||
|
|
||||||
if [[ "$UID" -ne 0 ]]; then
|
if [[ "$UID" -ne 0 ]]; then
|
||||||
sudo -vp 'root privilege required: '
|
sudo -vp 'root privilege required: '
|
||||||
echo curl -s https://git.artcode.re/miaou/miaou-bash/raw/branch/main/install2.sh | sudo bash -E
|
|
||||||
curl -s https://git.artcode.re/miaou/miaou-bash/raw/branch/main/install2.sh | sudo bash
|
curl -s https://git.artcode.re/miaou/miaou-bash/raw/branch/main/install2.sh | sudo bash
|
||||||
|
echo DONE with root, now refresh bash login
|
||||||
exec bash -l
|
exec bash -l
|
||||||
else
|
else
|
||||||
if [[ -d "$MIAOU_BASH_DIR" && -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
|
||||||
|
|||||||
Reference in New Issue
Block a user