Skip to content

Commit

Permalink
Workaround for template expansion with "hard coded" /usr/lib64
Browse files Browse the repository at this point in the history
  • Loading branch information
markVnl committed Dec 20, 2018
1 parent 0157466 commit ec08b79
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions root/usr/sbin/nethserver-install
Expand Up @@ -72,6 +72,13 @@ function end {
exit 0
}

# arm specific
distarch=$(arch)
if [[ $distarch = armv7* ]]; then
# Workaround for template expansion with "hard coded" /usr/lib64
ln -s /usr/lib /usr/lib64
fi

expected_version="$(</etc/e-smith/db/configuration/force/sysconfig/Version)"
ns_version=$(echo $expected_version | tr -dc '0-9')
centos_version=$(cat /etc/system-release | tr -dc '0-9')
Expand Down

0 comments on commit ec08b79

Please sign in to comment.