Fix creation of /opt/mycroft/skills
parent
36045fd44e
commit
5e55a117c8
|
@ -10,10 +10,10 @@ chmod +x msm/msm
|
|||
if [[ ${IS_TRAVIS} != true ]]; then
|
||||
echo "Create /opt/mycroft/skills if it doesn't exist"
|
||||
if [ ! -d ${SKILLS_DIR} ]; then
|
||||
sudo chown $USER:$USER ${SKILLS_DIR}
|
||||
sudo mkdir -p ${SKILLS_DIR}
|
||||
fi
|
||||
|
||||
if [ ! -w ${SKILLS_DIR} ]; then
|
||||
sudo mkdir -p ${SKILLS_DIR}
|
||||
sudo chown $USER:$USER ${SKILLS_DIR}
|
||||
fi
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue