aboutsummaryrefslogtreecommitdiff
path: root/src/common-utils/main.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/common-utils/main.sh')
-rw-r--r--src/common-utils/main.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/common-utils/main.sh b/src/common-utils/main.sh
index 7cc9409..ff2c54c 100644
--- a/src/common-utils/main.sh
+++ b/src/common-utils/main.sh
@@ -407,6 +407,8 @@ if [ "${RC_SNIPPET_ALREADY_ADDED}" != "true" ]; then
;;
"alpine")
global_rc_path="/etc/bash/bashrc"
+ # /etc/bash/bashrc does not exist in alpine 3.14 & 3.15
+ mkdir -p /etc/bash
;;
esac
cat "${FEATURE_DIR}/scripts/rc_snippet.sh" >> ${global_rc_path}