Files
packages/admin/btop/files/btop.uci
Tianling Shen ae33358c4f btop: add migration for alias command
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>
2025-06-14 15:09:51 +08:00

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