mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-02-24 09:11:34 +01:00
13 lines
336 B
Bash
13 lines
336 B
Bash
#!/bin/sh
|
|
|
|
umask 022
|
|
/usr/bin/appstreamcli refresh-cache --force
|
|
|
|
# /var/cache/app-info was replaced by /var/cache/swcatalog
|
|
# Remove this lines once 0.15.3 or greater is available in two
|
|
# consecutive releases
|
|
rm -rf /var/cache/app-info/cache
|
|
test -d /var/cache/app-info && rmdir --ignore-fail-on-non-empty /var/cache/app-info
|
|
|
|
exit 0
|