blob: 0d35fc36fe43c292e33b7fe369a03b45986b0c14 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
post_install() {
echo "---------------------------------------------------------------"
echo ":: RT-Thread/env"
echo " Github: git clone https://github.com/RT-Thread/env.git"
echo " Gitee: git clone https://gitee.com/RT-Thread-Mirror/env.git"
echo ":: Add yourself to the uucp group to access the serial ports:"
echo " sudo gpasswd -aG \$USER uucp"
echo " sudo udevadm control --reload-rules"
echo ":: If adb fails to connect to the phone, add the current user to the adbusers group"
echo " sudo gpasswd -aG \$USER adbusers"
echo "---------------------------------------------------------------"
}
post_upgrade() {
post_install
}
|