install2
This commit is contained in:
@@ -29,6 +29,8 @@ if [[ "$UID" -ne 0 ]]; then
|
||||
sudo -vp 'root privilege required: '
|
||||
curl -s https://git.artcode.re/miaou/miaou-bash/raw/branch/main/install2.sh | sudo bash
|
||||
echo DONE with root, now refresh bash login
|
||||
source /etc/profile
|
||||
source /etc/bash.bashrc
|
||||
exec bash -l
|
||||
else
|
||||
if [[ -d "$MIAOU_BASH_DIR" && -L /etc/inputrc && "$(readlink /etc/inputrc)" == "$MIAOU_BASH_DIR"/etc/inputrc ]]; then
|
||||
|
||||
Reference in New Issue
Block a user