Skip to content
Snippets Groups Projects
Commit 085e7b81 authored by Dmitriy A. Gerasimov's avatar Dmitriy A. Gerasimov
Browse files

[+] Added fix - if problems with permission set dont fail on postinst

parent c2c6c71e
No related branches found
No related tags found
No related merge requests found
......@@ -117,13 +117,13 @@ else
#chown -R $USERMAN:$USERMAN $DAP_PREFIX
for filename in $(find $DAP_PREFIX); do
if [ -d $filename ]; then
chmod 0775 $filename
chmod 0775 $filename || true
else
chmod 0664 $filename
chmod 0664 $filename || true
fi
done
chmod 0774 $DAP_PREFIX/bin/*
chmod 0777 $DAP_PREFIX/bin/$DAP_APP_NAME-cli
chmod 0774 $DAP_PREFIX/bin/* || true
chmod 0777 $DAP_PREFIX/bin/$DAP_APP_NAME-cli || true
service cellframe-node start || true
systemctl restart cellframe-node || true
echo "[!] Done"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment