Skip to content

Commit

Permalink
Merge pull request #34 from System25/master
Browse files Browse the repository at this point in the history
Ensure that the lib64 directory exists
  • Loading branch information
System25 authored Jun 15, 2020
2 parents 3adf6ce + 854981f commit 672a6b2
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion gecoscc-installer.sh
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,12 @@ echo "Configuring user (gecoscc) and directory permissions"
mkdir -p /opt/gecoscc/updates
[ ! -d /opt/gecoscc/scripts ] && \
mkdir -p /opt/gecoscc/scripts
cp -r /opt/gecosccui-$GECOSCC_VERSION/lib64/python2.7/site-packages/gecoscc/scripts/* /opt/gecoscc/scripts/
if [ -d /opt/gecosccui-$GECOSCC_VERSION/lib64/python2.7/site-packages/gecoscc/scripts ]
then
cp -r /opt/gecosccui-$GECOSCC_VERSION/lib64/python2.7/site-packages/gecoscc/scripts/* /opt/gecoscc/scripts/
else
cp -r /opt/gecosccui-$GECOSCC_VERSION/lib/python2.7/site-packages/gecoscc/scripts/* /opt/gecoscc/scripts/
fi
chown -R gecoscc:gecoscc /opt/gecoscc
chown -R gecoscc:gecoscc /opt/gecosccui-$GECOSCC_VERSION/
chmod -t /tmp
Expand Down

0 comments on commit 672a6b2

Please sign in to comment.