Mercurial > vanilla
annotate themes/hicolor-icon-theme/hicolor-icon-theme-post.sh @ 540:55d07eb631e4
themes: use new FHS
author | David Demelier <markand@malikania.fr> |
---|---|
date | Wed, 10 Apr 2019 20:28:00 +0200 |
parents | 107e26766c26 |
children | 00b288a5599a |
rev | line source |
---|---|
468
107e26766c26
themes/hicolor-icon-theme: initial import, closes #1555
David Demelier <markand@malikania.fr>
parents:
diff
changeset
|
1 #!/bin/sh |
107e26766c26
themes/hicolor-icon-theme: initial import, closes #1555
David Demelier <markand@malikania.fr>
parents:
diff
changeset
|
2 # |
107e26766c26
themes/hicolor-icon-theme: initial import, closes #1555
David Demelier <markand@malikania.fr>
parents:
diff
changeset
|
3 # Copyright (c) 2019 David Demelier <markand@malikania.fr> |
107e26766c26
themes/hicolor-icon-theme: initial import, closes #1555
David Demelier <markand@malikania.fr>
parents:
diff
changeset
|
4 # |
107e26766c26
themes/hicolor-icon-theme: initial import, closes #1555
David Demelier <markand@malikania.fr>
parents:
diff
changeset
|
5 # Permission to use, copy, modify, and/or distribute this software for any |
107e26766c26
themes/hicolor-icon-theme: initial import, closes #1555
David Demelier <markand@malikania.fr>
parents:
diff
changeset
|
6 # purpose with or without fee is hereby granted, provided that the above |
107e26766c26
themes/hicolor-icon-theme: initial import, closes #1555
David Demelier <markand@malikania.fr>
parents:
diff
changeset
|
7 # copyright notice and this permission notice appear in all copies. |
107e26766c26
themes/hicolor-icon-theme: initial import, closes #1555
David Demelier <markand@malikania.fr>
parents:
diff
changeset
|
8 # |
107e26766c26
themes/hicolor-icon-theme: initial import, closes #1555
David Demelier <markand@malikania.fr>
parents:
diff
changeset
|
9 # THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES |
107e26766c26
themes/hicolor-icon-theme: initial import, closes #1555
David Demelier <markand@malikania.fr>
parents:
diff
changeset
|
10 # WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF |
107e26766c26
themes/hicolor-icon-theme: initial import, closes #1555
David Demelier <markand@malikania.fr>
parents:
diff
changeset
|
11 # MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR |
107e26766c26
themes/hicolor-icon-theme: initial import, closes #1555
David Demelier <markand@malikania.fr>
parents:
diff
changeset
|
12 # ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES |
107e26766c26
themes/hicolor-icon-theme: initial import, closes #1555
David Demelier <markand@malikania.fr>
parents:
diff
changeset
|
13 # WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN |
107e26766c26
themes/hicolor-icon-theme: initial import, closes #1555
David Demelier <markand@malikania.fr>
parents:
diff
changeset
|
14 # ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF |
107e26766c26
themes/hicolor-icon-theme: initial import, closes #1555
David Demelier <markand@malikania.fr>
parents:
diff
changeset
|
15 # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. |
107e26766c26
themes/hicolor-icon-theme: initial import, closes #1555
David Demelier <markand@malikania.fr>
parents:
diff
changeset
|
16 # |
107e26766c26
themes/hicolor-icon-theme: initial import, closes #1555
David Demelier <markand@malikania.fr>
parents:
diff
changeset
|
17 |
107e26766c26
themes/hicolor-icon-theme: initial import, closes #1555
David Demelier <markand@malikania.fr>
parents:
diff
changeset
|
18 if [ "$1" = "install" ]; then |
540 | 19 chroot $DESTDIR /bin/gtk-update-icon-cache -fqt /share/icons/hicolor |
468
107e26766c26
themes/hicolor-icon-theme: initial import, closes #1555
David Demelier <markand@malikania.fr>
parents:
diff
changeset
|
20 fi |