From 700ca5c0a521f0b83335170d302452d64b412df9 Mon Sep 17 00:00:00 2001 From: "Dmitriy A. Gerasimov" <dmitriy.gerasimov@demlabs.net> Date: Wed, 6 May 2020 16:36:09 +0700 Subject: [PATCH] [*] Update --- CMakeLists.txt | 2 +- cellframe-sdk | 2 +- prod_build/linux/debian/essentials/postinst | 8 ++++---- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index eae886428..60d3236bb 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -8,7 +8,7 @@ set(CMAKE_C_STANDARD 11) SET( CPACK_PACKAGE_NAME "${PROJECT_NAME}") SET( CPACK_PACKAGE_VERSION_MAJOR 3) SET( CPACK_PACKAGE_VERSION_MINOR 2) -SET( CPACK_PACKAGE_VERSION_PATCH 7) +SET( CPACK_PACKAGE_VERSION_PATCH 8) # init CellFrame SDK add_definitions("-DDAP_VERSION=\"${CPACK_PACKAGE_VERSION_MAJOR}\"") diff --git a/cellframe-sdk b/cellframe-sdk index b1d26a145..9a45f8fee 160000 --- a/cellframe-sdk +++ b/cellframe-sdk @@ -1 +1 @@ -Subproject commit b1d26a14595f89b826b4652427e258981ec3411c +Subproject commit 9a45f8fee0ee22663bd109bcf20dc155c9498046 diff --git a/prod_build/linux/debian/essentials/postinst b/prod_build/linux/debian/essentials/postinst index 27dd07978..bc66ad0d3 100755 --- a/prod_build/linux/debian/essentials/postinst +++ b/prod_build/linux/debian/essentials/postinst @@ -89,7 +89,7 @@ mkdir -p $DAP_PREFIX/var/log || true mkdir -p $DAP_PREFIX/var/plugins || true -cat /etc/passwd| grep cellframe-node || adduser --system --no-create-home --group --home /opt/cellframe-node cellframe-node +cat /etc/passwd| grep cellframe-node || adduser --system --no-create-home --group --home /opt/cellframe-node cellframe-node || true echo "[*] Check /etc/systemd/system/$DAP_APP_NAME.service file..." if [ -L /etc/systemd/system/$DAP_APP_NAME.service ]; then @@ -110,10 +110,10 @@ else adduser --system --no-create-home --group --home /opt/cellframe-node cellframe-node || true #usermod -aG $DAP_CHAINS_NAME `users | awk '{print $1}'` for username in $(cat /etc/passwd | grep "/home" | cut -d ':' -f1); do - usermod -aG cellframe-node $username + usermod -aG cellframe-node $username || true done - mkdir -p $DAP_PREFIX/var/{run,lib/ca,lib/wallet,lib/global_db,var/plugins} - touch $DAP_PREFIX/var/run/cellframe-node.pid + mkdir -p $DAP_PREFIX/var/{run,lib/ca,lib/wallet,lib/global_db,var/plugins} || true + touch $DAP_PREFIX/var/run/cellframe-node.pid || true #chown -R $USERMAN:$USERMAN $DAP_PREFIX for filename in $(find $DAP_PREFIX); do if [ -d $filename ]; then -- GitLab