Skip to content

Commit

Permalink
Fix syntax of find command to fix missing license files (#147)
Browse files Browse the repository at this point in the history
  • Loading branch information
adrianinsaval authored Dec 31, 2024
1 parent e438292 commit 392dca0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion snap/snapcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ parts:
for cruft in bug lintian man; do
rm -rf $CRAFT_PRIME/usr/share/$cruft
done
find $CRAFT_PRIME/usr/share/doc/ -type f -not -name 'ThirdPartyLibraries.html|LICENSE.html|copyright' -delete
find $CRAFT_PRIME/usr/share/doc/ -type f -not -name 'copyright' -not -name 'ThirdPartyLibraries.html' -not -name 'LICENSE.html' -delete
find $CRAFT_PRIME/usr/share -type d -empty -delete
find $CRAFT_PRIME/usr/lib -type f,l \
-name 'libQt*.so*' `# remove all Qt libs pulled in from Ubuntu repos` \
Expand Down

0 comments on commit 392dca0

Please sign in to comment.