Accepting request 397657 from home:dimstar:Factory
- Fix suse-update-mime-defaults: Ensure the directory structure to write the cache info to is in place (boo#976973). OBS-URL: https://build.opensuse.org/request/show/397657 OBS-URL: https://build.opensuse.org/package/show/X11:common:Factory/desktop-file-utils?expand=0&rev=52
This commit is contained in:
parent
89e12f8e84
commit
d4b8fe301a
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue May 24 08:40:37 UTC 2016 - dimstar@opensuse.org
|
||||
|
||||
- Fix suse-update-mime-defaults: Ensure the directory structure to
|
||||
write the cache info to is in place (boo#976973).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon May 9 21:03:33 CEST 2016 - hpj@suse.com
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package desktop-file-utils
|
||||
#
|
||||
# Copyright (c) 2016 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
|
@ -24,6 +24,11 @@ if [ "${PROFILEREAD}" != "true" ]; then
|
||||
. $r/etc/profile
|
||||
fi
|
||||
|
||||
# ensue the cache directory structure is in order
|
||||
if [ ! -d $r/var/cache/gio-2.0 ]; then
|
||||
mkdir -m 755 -p $r/var/cache/gio-2.0
|
||||
fi
|
||||
|
||||
for desktop in gnome xfce lxde; do
|
||||
awk -vdesktop=${desktop} '
|
||||
# print a warning to stderr
|
||||
|
Loading…
x
Reference in New Issue
Block a user