File tree Expand file tree Collapse file tree 2 files changed +30
-14
lines changed Expand file tree Collapse file tree 2 files changed +30
-14
lines changed Original file line number Diff line number Diff line change 6
6
# Nobu Kawauchi
7
7
#
8
8
9
- VERSION=2.0.2.02
9
+ VERSION=2.0.2.03
10
10
FILENAME=openrtm2_install_raspbian.sh
11
11
BIT=` getconf LONG_BIT`
12
12
@@ -110,6 +110,7 @@ arg_python=false
110
110
arg_java=false
111
111
arg_rtshell=false
112
112
err_message=" "
113
+ rts_msg=" "
113
114
select_opt_c=" "
114
115
}
115
116
@@ -584,12 +585,10 @@ install_proc()
584
585
if test " x$rtshell_ret " ! = " x" ; then
585
586
sudo rtshell_post_install -n
586
587
else
587
- msg=" \n[ERROR] Failed to install rtshell-aist."
588
- msg2=" \nPlease add the following two lines to /etc/pip.conf and run the script again."
589
- msg3=" \n[global]"
590
- msg4=" \nbreak-system-packages = true"
591
- tmp=" $err_message$msg$msg2$msg3$msg4 "
592
- err_message=$tmp
588
+ rts_msg=" [ERROR] Failed to install rtshell-aist."
589
+ rts_msg2=" Please add the following two lines to /etc/pip.conf and run the script again."
590
+ rts_msg3=" [global]"
591
+ rts_msg4=" break-system-packages = true"
593
592
fi
594
593
fi
595
594
}
@@ -811,6 +810,15 @@ if test ! "x$err_message" = "x" ; then
811
810
echo " ${ESC} [33m${err_message}${ESC} [m"
812
811
fi
813
812
813
+ if test ! " x$rts_msg " = " x" ; then
814
+ ESC=$( printf ' \033' )
815
+ echo $LF
816
+ echo " ${ESC} [33m${rts_msg}${ESC} [m"
817
+ echo " ${ESC} [33m${rts_msg2}${ESC} [m"
818
+ echo " ${ESC} [33m${rts_msg3}${ESC} [m"
819
+ echo " ${ESC} [33m${rts_msg4}${ESC} [m"
820
+ fi
821
+
814
822
# ESC=$(printf '\033')
815
823
# if test "x$OPT_FLG" = "xtrue" &&
816
824
# test "x$arg_cxx" = "xtrue" &&
Original file line number Diff line number Diff line change 14
14
# = OPT_UNINST : uninstallation
15
15
#
16
16
17
- VERSION=2.0.2.03
17
+ VERSION=2.0.2.04
18
18
FILENAME=openrtm2_install_ubuntu.sh
19
19
20
20
#
@@ -138,6 +138,7 @@ arg_java=false
138
138
arg_openrtp=false
139
139
arg_rtshell=false
140
140
err_message=" "
141
+ rts_msg=" "
141
142
select_opt_c=" "
142
143
}
143
144
@@ -679,12 +680,10 @@ install_proc()
679
680
if test " x$rtshell_ret " ! = " x" ; then
680
681
sudo rtshell_post_install -n
681
682
else
682
- msg=" \n[ERROR] Failed to install rtshell-aist."
683
- msg2=" \nPlease add the following text to /etc/pip.conf and run the script again."
684
- msg3=" \n[global]"
685
- msg4=" \nbreak-system-packages = true"
686
- tmp=" $err_message$msg$msg2$msg3$msg4 "
687
- err_message=$tmp
683
+ rts_msg=" [ERROR] Failed to install rtshell-aist."
684
+ rts_msg2=" Please add the following text to /etc/pip.conf and run the script again."
685
+ rts_msg3=" [global]"
686
+ rts_msg4=" break-system-packages = true"
688
687
fi
689
688
fi
690
689
}
@@ -934,6 +933,15 @@ if test ! "x$err_message" = "x" ; then
934
933
echo " ${ESC} [33m${err_message}${ESC} [m"
935
934
fi
936
935
936
+ if test ! " x$rts_msg " = " x" ; then
937
+ ESC=$( printf ' \033' )
938
+ echo $LF
939
+ echo " ${ESC} [33m${rts_msg}${ESC} [m"
940
+ echo " ${ESC} [33m${rts_msg2}${ESC} [m"
941
+ echo " ${ESC} [33m${rts_msg3}${ESC} [m"
942
+ echo " ${ESC} [33m${rts_msg4}${ESC} [m"
943
+ fi
944
+
937
945
ESC=$( printf ' \033' )
938
946
if test " x$OPT_UNINST " = " xtrue" &&
939
947
test " x$arg_cxx " = " xtrue" &&
You can’t perform that action at this time.
0 commit comments