Skip to content

Conversation

@ivan-karpovich-develo-design
Copy link
Collaborator

No description provided.

# Fix for missing sample data media files
# ======================================================================================
if [ "${INSTALL_SAMPLE_DATA}" = "YES" ]; then
if [ "${INSTALL_SAMPLE_DATA}" = "YES" ] && [ "${PLATFORM_NAME}" = "mage-os" ]; then
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sample data can be installed on both platforms.

Revert this back to
if [ "${INSTALL_SAMPLE_DATA}" = "YES" ]; then

Then use the platform_name value here
SAMPLE_MEDIA_SOURCE="vendor/${PLATFORM_NAME}/sample-data-media"

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I understand you, but this fix is only for MageOS, meaning there’s no such issue for Luma.
So this condition is completely justified.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants