Skip to content

Commit 8ebaeca

Browse files
committed
Make the .bashrc take effect
1 parent deaffd3 commit 8ebaeca

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

rebuild

+3
Original file line numberDiff line numberDiff line change
@@ -521,6 +521,9 @@ refactor_files() {
521521
# Custom banner name
522522
sed -i "s|BOARD_NAME=.*|BOARD_NAME=\"Aml ${soc}\"|g" ${armbian_release_file} 2>/dev/null
523523

524+
# Make the .bashrc take effect
525+
echo '[ -f "${HOME}/.bashrc" ] && . ${HOME}/.bashrc' >>etc/profile
526+
524527
# Add tasks that need to be executed on initial startup
525528
armbian_firstrun="usr/lib/armbian/armbian-firstrun"
526529
sed -i '/armbian-release/i\sudo apt-get -qq purge -y linux-image-current-meson64' ${armbian_firstrun} 2>/dev/null

0 commit comments

Comments
 (0)