prerm 193 字节
Newer Older
H
hzcheng 已提交
1 2 3 4
#!/bin/bash

insmetaPath="/usr/local/taos/script"

P
plum-lihui 已提交
5 6 7 8
csudo=""
if command -v sudo > /dev/null; then
    csudo="sudo"
fi
H
hzcheng 已提交
9

P
plum-lihui 已提交
10 11 12
${csudo} chmod -R 744 ${insmetaPath}
cd ${insmetaPath}
${csudo} ./preun.sh