Commit c17bcb0c authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm repack.d/generic-snap.sh: remove unnecessary usr/share subdirs

parent 5ebda7df
...@@ -22,6 +22,11 @@ for i in data-dir gnome-platform scripts lib/dri etc bin meta snap ; do ...@@ -22,6 +22,11 @@ for i in data-dir gnome-platform scripts lib/dri etc bin meta snap ; do
remove_dir $PRODUCTDIR/$i remove_dir $PRODUCTDIR/$i
done done
# Remove unnecessary files from usr/share
for i in usr/share/help usr/share/doc usr/share/locale usr/share/man usr/share/lintian ; do
remove_dir $PRODUCTDIR/$i
done
# Check if app has binary in usr/bin # Check if app has binary in usr/bin
if [ -d usr/bin ] && ls usr/bin/* >/dev/null 2>&1 ; then if [ -d usr/bin ] && ls usr/bin/* >/dev/null 2>&1 ; then
# Create exec commands for all binaries found in desktop files # Create exec commands for all binaries found in desktop files
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment