new installation process

This commit is contained in:
pvincent
2026-08-18 18:47:57 +04:00
parent 1658ffae17
commit 07a58faabf
2 changed files with 4 additions and 3 deletions
+4 -2
View File
@@ -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 {
-1
View File
@@ -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