mirror of
https://github.com/openwrt/packages.git
synced 2026-04-15 19:02:09 +00:00
Files in `/etc/profile.d/` are marked as user configs and won't be replaced to new version when update the package, so add a migration script for this. Fixes: #26709 Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
6 lines
125 B
Bash
6 lines
125 B
Bash
#!/bin/sh
|
|
|
|
grep -q "utf-force" "/etc/profile.d/btop.sh" && sed -i "s,utf-force,force-utf,g" "/etc/profile.d/btop.sh"
|
|
|
|
exit 0
|