mirror of
https://github.com/VIKINGYFY/immortalwrt.git
synced 2025-12-16 17:15:26 +00:00
- move extra parts to /etc/profile.d/* - improve syntax and messages Signed-off-by: Konstantin Demin <rockdrilla@gmail.com> Link: https://github.com/openwrt/openwrt/pull/19953 Signed-off-by: Robert Marko <robimarko@gmail.com>
22 lines
859 B
Bash
22 lines
859 B
Bash
if [ -x /usr/bin/apk ] ; then
|
|
cat << EOF
|
|
|
|
OpenWrt recently switched to the "apk" package manager!
|
|
|
|
OPKG Command APK Equivalent Description
|
|
------------------------------------------------------------------
|
|
opkg install <pkg> apk add <pkg> Install a package
|
|
opkg remove <pkg> apk del <pkg> Remove a package
|
|
opkg upgrade apk upgrade Upgrade all packages
|
|
opkg files <pkg> apk info -L <pkg> List package contents
|
|
opkg list-installed apk info List installed packages
|
|
opkg update apk update Update package lists
|
|
opkg search <pkg> apk search <pkg> Search for packages
|
|
------------------------------------------------------------------
|
|
|
|
For more information visit:
|
|
https://openwrt.org/docs/guide-user/additional-software/opkg-to-apk-cheatsheet
|
|
|
|
EOF
|
|
fi
|