hosted mode create /var/lib/miaou-bash/semver_current
This commit is contained in:
+11
-1
@@ -219,12 +219,19 @@ function launch_hooks {
|
||||
done
|
||||
}
|
||||
|
||||
function apply_mode {
|
||||
if [[ "$MIAOU_BASH_MODE" == hosted ]]; then
|
||||
sudo mkdir /var/lib/miaou-bash -p
|
||||
sudo cp "$MIAOU_BASH_DIR"/.semver_git_tag /var/lib/miaou-bash/semver_current
|
||||
fi
|
||||
}
|
||||
|
||||
# MAIN
|
||||
|
||||
source "$MIAOU_BASH_DIR"/lib/functions.bash
|
||||
|
||||
assert_root
|
||||
DISTRO_LIKE=$(fetch_distro_like)
|
||||
fetch_distro_like
|
||||
install_required_packages
|
||||
fix_users_bashrc
|
||||
fix_terminfo_ghostty
|
||||
@@ -232,4 +239,7 @@ ghostty_global_config
|
||||
link_config_files
|
||||
link_miaou_bash
|
||||
create_sudoers
|
||||
|
||||
fetch_mode
|
||||
apply_mode
|
||||
launch_hooks
|
||||
|
||||
Reference in New Issue
Block a user