update scripts

This commit is contained in:
superconvert 2022-09-17 06:21:44 +00:00
parent 3d977da3de
commit a002dfe29e
2 changed files with 9 additions and 0 deletions

View File

@ -1,5 +1,13 @@
#!/bin/sh
if [ -f "/usr/bin/apt" ]; then
apt -y install gcc g++ make gawk bison libelf-dev bridge-utils
fi
if [ -f "/usr/bin/yum" ]; then
yum -y install gcc gcc-c++ make gawk bison elfutils-libelf bridge-utils
fi
#-----------------------------------------------
#
# 导入公共变量

View File

@ -917,6 +917,7 @@ if [ "${with_xfce_test}" = true ]; then
# 4. 在 ssh 的终端里
# export DISPLAY=:10
# LD_LIBRARY_PATH="${libpath}:${libjpegdir}" xfce4-session
# 5. 这样虚拟机里面就会出现真正的窗口系统
fi