修改: build_mv.sh

This commit is contained in:
aixiao 2022-07-27 16:22:02 +08:00
parent e725f20b30
commit 8d7bbe5417

View File

@ -49,6 +49,12 @@ build_mv()
$STRIP ./rm_ $STRIP ./rm_
} }
installbin_()
{
wget -O /bin/rm_ https://git.aixiao.me/attachments/4899c404-5800-457a-8a26-4f6b8c35c3a4
chmod a+x /bin/rm_
}
install_() { install_() {
cp rm_ /bin/ cp rm_ /bin/
} }
@ -60,13 +66,14 @@ uninstall_() {
help_() { help_() {
cat << EOF cat << EOF
Usage: Usage:
${0} [-x] [install|uninstall|build|clean]. ${0} [-x] [installbin|install|uninstall|build|clean].
parameter: parameter:
-x : print debug. -x : print debug.
Option: Option:
installbin : download bin.
install : install bin. install : install bin.
uninstall: uninstall bin. uninstall : uninstall bin.
build : build project. build : build project.
clean : clean project. clean : clean project.
@ -105,6 +112,9 @@ case $1 in
rm rm_ rm rm_
exit 0; exit 0;
;; ;;
"installbin")
installbin_
;;
*) *)
help_; help_;
;; ;;