mirror of
https://github.com/MacRimi/ProxMenux.git
synced 2025-07-23 15:06:53 +00:00
Update customizable_post_install.sh
This commit is contained in:
parent
0d51205bd6
commit
6f916a4c32
@ -2791,7 +2791,7 @@ configure_fastfetch() {
|
|||||||
sed -i '/fastfetch/d' ~/.profile /etc/profile 2>/dev/null
|
sed -i '/fastfetch/d' ~/.profile /etc/profile 2>/dev/null
|
||||||
rm -f /etc/update-motd.d/99-fastfetch
|
rm -f /etc/update-motd.d/99-fastfetch
|
||||||
|
|
||||||
sed -i '/# BEGIN FASTFETCH/,/# END FASTFETCH/d' "$HOME/.bashrc" 2>/dev/null
|
sed -i '/# BEGIN FASTFETCH/,/# END FASTFETCH/d' "$HOME/.bashrc" 2>/dev/null
|
||||||
|
|
||||||
if ! grep -q '# BEGIN FASTFETCH' "$HOME/.bashrc"; then
|
if ! grep -q '# BEGIN FASTFETCH' "$HOME/.bashrc"; then
|
||||||
cat << 'EOF' >> "$HOME/.bashrc"
|
cat << 'EOF' >> "$HOME/.bashrc"
|
||||||
@ -2810,13 +2810,13 @@ msg_ok "$(translate "Fastfetch will start automatically in the console")"
|
|||||||
msg_success "$(translate "Fastfetch installation and configuration completed")"
|
msg_success "$(translate "Fastfetch installation and configuration completed")"
|
||||||
register_tool "fastfetch" true
|
register_tool "fastfetch" true
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# ==========================================================
|
# ==========================================================
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user