kiss-flatpak

Flatpak for KISS Linux.
git clone https://git.stjo.hn/kiss-flatpak
Log | Files | Refs | README | LICENSE

commit de04c10a6fa741e3985233c5bda48b2d8918e7f8
parent 51cdeef6171297718f48810fb0404dc2b5ff6bc7
Author: Dylan Araps <dylan.araps@gmail.com>
Date:   Thu, 23 Apr 2020 14:34:46 +0300

flatpak: Clean things up

Diffstat:
Mflatpak/flatpak/build | 13+++++++++----
1 file changed, 9 insertions(+), 4 deletions(-)

diff --git a/flatpak/flatpak/build b/flatpak/flatpak/build @@ -42,7 +42,12 @@ export PYTHONPATH make make DESTDIR="$1" install -# Remove dbus/systemd/unwanted stuff. -rm -rf "$1/usr/lib/systemd" -rm -rf "$1/usr/share/dbus-1" -rm -rf "$1/etc/profile.d" +# Remove dbus/systemd/libraries (unneeded stuff). +# This is a dumb warning which appears only when /usr/share does. +# shellcheck disable=2115 +{ + rm -rf "$1/etc" + rm -rf "$1/usr/share" + rm -rf "$1/usr/lib" + rm -rf "$1/usr/include" +}