Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion src/plugins/terminal/scripts/init-alpine.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,12 @@ while [ $# -gt 0 ]; do
esac
done

# If a command was supplied, execute it and exit
# without it Executor will break
if [ "$INSTALLING" != true ] && [ $# -gt 0 ] && [ "${1#--}" = "$1" ]; then
exec "$@"
fi
Comment thread
RohitKushvaha01 marked this conversation as resolved.

required_packages="bash command-not-found tzdata wget"
missing_packages=""

Expand Down Expand Up @@ -340,8 +346,8 @@ if ! grep -q 'PS1=' "$PREFIX/alpine/initrc"; then
# echo 'PS1="\[\033[1;32m\]\u\[\033[0m\]@localhost \[\033[1;34m\]\w\[\033[0m\] \$ "' >> "$PREFIX/alpine/initrc"
fi

chmod +x "$PREFIX/alpine/initrc"

chmod +x "$PREFIX/alpine/initrc"

if [ "$FAILSAFE" != true ]; then
#actual source
Expand Down