Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
techknowlogick
aports
Commits
c358328d
Commit
c358328d
authored
May 14, 2022
by
Pablo Correa Gomez
Committed by
Rasmus Thomsen
May 18, 2022
Browse files
community/appstream: remove old cache directory in post-upgrade
parent
f5510998
Changes
1
Hide whitespace changes
Inline
Side-by-side
community/appstream/appstream.post-install
View file @
c358328d
...
...
@@ -3,4 +3,10 @@
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
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment