install2
This commit is contained in:
@@ -29,6 +29,8 @@ if [[ "$UID" -ne 0 ]]; then
|
|||||||
sudo -vp 'root privilege required: '
|
sudo -vp 'root privilege required: '
|
||||||
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
|
echo DONE with root, now refresh bash login
|
||||||
|
source /etc/profile
|
||||||
|
source /etc/bash.bashrc
|
||||||
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