diff --git a/plugins/python-build/install.sh b/plugins/python-build/install.sh index 42c4042b..e6a977c2 100755 --- a/plugins/python-build/install.sh +++ b/plugins/python-build/install.sh @@ -17,4 +17,10 @@ SHARE_PATH="${PREFIX}/share/python-build" mkdir -p "$BIN_PATH" "$SHARE_PATH" install -p bin/* "$BIN_PATH" -cp -RPp share/python-build/* "$SHARE_PATH" +for share in share/python-build/*; do + if [ -d "$share" ]; then + cp -RPp "$share" "$SHARE_PATH" + else + install -p -m 0644 "$share" "$SHARE_PATH" + fi +done