Skip to content

Commit

Permalink
fix python wheels installation for DSM<7
Browse files Browse the repository at this point in the history
- package user needs access to installed site-packages
  • Loading branch information
hgy59 committed Jan 15, 2023
1 parent 6839f37 commit 18f84de
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions mk/spksrc.service.installer.functions
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,10 @@ install_python_wheels ()
--requirement ${requirements}
fi

if [ ${SYNOPKG_DSM_VERSION_MAJOR} -lt 7 ]; then
set_unix_permissions ${SYNOPKG_PKGDEST}/env
fi

echo "Installed modules:"
pip freeze
}
Expand Down

0 comments on commit 18f84de

Please sign in to comment.