new installation process
This commit is contained in:
+4
-2
@@ -109,8 +109,10 @@ function link_config_files {
|
||||
}
|
||||
|
||||
function force_reload {
|
||||
bind -f /etc/inputrc 2>/dev/null # arch: dismiss harmless warning
|
||||
source /etc/profile
|
||||
bind -f /etc/inputrc 2>/dev/null # arch: dismiss harmless warning
|
||||
if ! source /etc/profile 2>/dev/null; then # arch: dismiss error `PS1: unbound variable``
|
||||
source /etc/bash.bashrc
|
||||
fi
|
||||
}
|
||||
|
||||
function in_azerty_zone {
|
||||
|
||||
@@ -28,7 +28,6 @@ sudo_root
|
||||
if _confirm_destructive 2>/dev/null; then
|
||||
cd || exit 2 # exit should not occur!
|
||||
uninstall
|
||||
source /etc/profile
|
||||
echo 'MIAOU-BASH fully uninstalled, previous settings restored from original'
|
||||
else
|
||||
builtin exit 1
|
||||
|
||||
Reference in New Issue
Block a user