From 3fc442bf709f20fb934f801fe8d0a87768befeea Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Mon, 15 May 2023 12:07:16 +0200 Subject: [PATCH] main_link_bashrc --- bash/main.sh | 2 +- bash/ovh-rescue.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bash/main.sh b/bash/main.sh index c89870e..9b7afdd 100644 --- a/bash/main.sh +++ b/bash/main.sh @@ -4,7 +4,7 @@ MAIN_BASH_FILE="$(realpath "${BASH_SOURCE[0]}")" MAIN_BASH_ROOT="$(dirname "${MAIN_BASH_FILE}")" -function link_bashrc { +function main_link_bashrc { local file='/etc/bash.bashrc' rm --force "${file}" ln --symbolic "${MAIN_BASH_FILE}" "${file}" diff --git a/bash/ovh-rescue.sh b/bash/ovh-rescue.sh index 295a95f..c52af9f 100644 --- a/bash/ovh-rescue.sh +++ b/bash/ovh-rescue.sh @@ -22,7 +22,7 @@ deb https://deb.debian.org/debian buster-updates main contrib non-free deb https://deb.debian.org/debian-security buster/updates main contrib non-free " > '/etc/apt/sources.list' # bash / rc - link_bashrc + main_link_bashrc # host name hostname 'ovh' # locales