postinst 211 字节
Newer Older
H
hzcheng 已提交
1 2 3 4
#!/bin/bash
#set -x
#path=`pwd`
insmetaPath="/usr/local/taos/script"
P
plum-lihui 已提交
5 6 7 8 9 10 11

csudo=""
if command -v sudo > /dev/null; then
    csudo="sudo"
fi

${csudo} chmod -R 744 ${insmetaPath}
H
hzcheng 已提交
12
cd ${insmetaPath}
P
plum-lihui 已提交
13
${csudo} ./post.sh