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