ports: Create files in /etc/profile.d instead of modifying shellrc

This commit is contained in:
2026-08-25 03:52:52 +03:00
parent 631fec7c4d
commit c6694f6a28
3 changed files with 6 additions and 6 deletions
+2 -2
View File
@@ -23,6 +23,6 @@ post_install() {
ln -sv libncursesw.so "$DESTDIR/usr/lib/libncurses.so"
shellrc="$BANAN_SYSROOT/home/user/.shellrc"
grep -q 'export NCURSES_NO_UTF8_ACS=' "$shellrc" || echo 'export NCURSES_NO_UTF8_ACS=1' >> "$shellrc"
mkdir -p "$DESTDIR/etc/profile.d"
echo 'export NCURSES_NO_UTF8_ACS=1' > "$DESTDIR/etc/profile.d/ncurses.sh"
}