- InstallAppdata.sh: only install AppStream metadata, that
validates. OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/libzypp-plugin-appdata?expand=0&rev=15
This commit is contained in:
parent
5f54fca785
commit
5ce3d4f010
@ -34,14 +34,18 @@ done
|
|||||||
# Install new appdata files
|
# Install new appdata files
|
||||||
while ([ "$1" = "-R" ]); do
|
while ([ "$1" = "-R" ]); do
|
||||||
case $4 in
|
case $4 in
|
||||||
rpm-md)
|
rpm-md)
|
||||||
appstream-util install-origin "$2" $6$RPMMD/*appdata.xml.gz $6$RPMMD/*app-icons.tar.gz 2>&1 > /dev/null
|
if appstream-util validate-relax "$6$RPMMD/*appdata.xml.gz"; then
|
||||||
;;
|
appstream-util install-origin "$2" "$6$RPMMD/*appdata.xml.gz" $6$RPMMD/*app-icons.tar.gz 2>&1 > /dev/null
|
||||||
yast2)
|
fi
|
||||||
appstream-util install-origin "$2" "$6$YAST2/appdata.xml.gz" "$6$YAST2/appdata-icons.tar.gz" 2>&1 > /dev/null
|
;;
|
||||||
;;
|
yast2)
|
||||||
*)
|
if appstream-util validate-relax "$6$YAST2/appdata.xml.gz"; then
|
||||||
echo "unknown repo type - Appstream data not considered"
|
appstream-util install-origin "$2" "$6$YAST2/appdata.xml.gz" "$6$YAST2/appdata-icons.tar.gz" 2>&1 > /dev/null
|
||||||
|
fi
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
echo "unknown repo type - Appstream data not considered"
|
||||||
esac
|
esac
|
||||||
shift 6
|
shift 6
|
||||||
done
|
done
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Mar 31 13:41:00 UTC 2015 - dimstar@opensuse.org
|
||||||
|
|
||||||
|
- InstallAppdata.sh: only install AppStream metadata, that
|
||||||
|
validates.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Mar 20 12:55:38 UTC 2015 - dimstar@opensuse.org
|
Fri Mar 20 12:55:38 UTC 2015 - dimstar@opensuse.org
|
||||||
|
|
||||||
|
@ -30,7 +30,7 @@ BuildArch: noarch
|
|||||||
BuildRequires: appstream-glib >= 0.2.4
|
BuildRequires: appstream-glib >= 0.2.4
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
# appstream-glib >= 0.3.6 is the first to correctly to appstream-util uninstall in /var/cache
|
# appstream-glib >= 0.3.6 is the first to correctly to appstream-util uninstall in /var/cache
|
||||||
Requires: appstream-glib >= 0.3.6
|
Requires: appstream-glib > 0.3.5
|
||||||
# appdata hook was introduced in libzypp 14.29.4
|
# appdata hook was introduced in libzypp 14.29.4
|
||||||
Requires: libzypp >= 14.29.4
|
Requires: libzypp >= 14.29.4
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user