mirror of
https://github.com/superconvert/smart-os.git
synced 2024-11-26 04:01:35 +08:00
update scripts
This commit is contained in:
parent
3d977da3de
commit
a002dfe29e
@ -1,5 +1,13 @@
|
|||||||
#!/bin/sh
|
#!/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
|
||||||
|
|
||||||
#-----------------------------------------------
|
#-----------------------------------------------
|
||||||
#
|
#
|
||||||
# 导入公共变量
|
# 导入公共变量
|
||||||
|
@ -917,6 +917,7 @@ if [ "${with_xfce_test}" = true ]; then
|
|||||||
# 4. 在 ssh 的终端里
|
# 4. 在 ssh 的终端里
|
||||||
# export DISPLAY=:10
|
# export DISPLAY=:10
|
||||||
# LD_LIBRARY_PATH="${libpath}:${libjpegdir}" xfce4-session
|
# LD_LIBRARY_PATH="${libpath}:${libjpegdir}" xfce4-session
|
||||||
|
# 5. 这样虚拟机里面就会出现真正的窗口系统
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user