Mercurial > vanilla
annotate mate/mate-icon-theme/mate-icon-theme-post.sh @ 586:1218a8f753b6
core/busybox: let's re-add /etc/inittab support
While busybox has weird /etc/inittab support the predefined actions without it
are too minimalistic so re-add the support for it but don't install an
/etc/inittab file.
The file /etc/inittab file is still installed with sysvinit but if someone wants
to use busybox's init it should create its own /etc/inittab file with the
busybox syntax and do not install sysvinit afterwards.
author | David Demelier <markand@malikania.fr> |
---|---|
date | Mon, 08 Jul 2019 20:35:00 +0200 |
parents | 263706a69f92 |
children |
rev | line source |
---|---|
478
0662f2b4f32e
mate/mate-icon-theme: initial import, closes #1453
David Demelier <markand@malikania.fr>
parents:
diff
changeset
|
1 #!/bin/sh |
0662f2b4f32e
mate/mate-icon-theme: initial import, closes #1453
David Demelier <markand@malikania.fr>
parents:
diff
changeset
|
2 # |
0662f2b4f32e
mate/mate-icon-theme: initial import, closes #1453
David Demelier <markand@malikania.fr>
parents:
diff
changeset
|
3 # Copyright (c) 2019 David Demelier <markand@malikania.fr> |
0662f2b4f32e
mate/mate-icon-theme: initial import, closes #1453
David Demelier <markand@malikania.fr>
parents:
diff
changeset
|
4 # |
0662f2b4f32e
mate/mate-icon-theme: initial import, closes #1453
David Demelier <markand@malikania.fr>
parents:
diff
changeset
|
5 # Permission to use, copy, modify, and/or distribute this software for any |
0662f2b4f32e
mate/mate-icon-theme: initial import, closes #1453
David Demelier <markand@malikania.fr>
parents:
diff
changeset
|
6 # purpose with or without fee is hereby granted, provided that the above |
0662f2b4f32e
mate/mate-icon-theme: initial import, closes #1453
David Demelier <markand@malikania.fr>
parents:
diff
changeset
|
7 # copyright notice and this permission notice appear in all copies. |
0662f2b4f32e
mate/mate-icon-theme: initial import, closes #1453
David Demelier <markand@malikania.fr>
parents:
diff
changeset
|
8 # |
0662f2b4f32e
mate/mate-icon-theme: initial import, closes #1453
David Demelier <markand@malikania.fr>
parents:
diff
changeset
|
9 # THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES |
0662f2b4f32e
mate/mate-icon-theme: initial import, closes #1453
David Demelier <markand@malikania.fr>
parents:
diff
changeset
|
10 # WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF |
0662f2b4f32e
mate/mate-icon-theme: initial import, closes #1453
David Demelier <markand@malikania.fr>
parents:
diff
changeset
|
11 # MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR |
0662f2b4f32e
mate/mate-icon-theme: initial import, closes #1453
David Demelier <markand@malikania.fr>
parents:
diff
changeset
|
12 # ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES |
0662f2b4f32e
mate/mate-icon-theme: initial import, closes #1453
David Demelier <markand@malikania.fr>
parents:
diff
changeset
|
13 # WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN |
0662f2b4f32e
mate/mate-icon-theme: initial import, closes #1453
David Demelier <markand@malikania.fr>
parents:
diff
changeset
|
14 # ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF |
0662f2b4f32e
mate/mate-icon-theme: initial import, closes #1453
David Demelier <markand@malikania.fr>
parents:
diff
changeset
|
15 # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. |
0662f2b4f32e
mate/mate-icon-theme: initial import, closes #1453
David Demelier <markand@malikania.fr>
parents:
diff
changeset
|
16 # |
0662f2b4f32e
mate/mate-icon-theme: initial import, closes #1453
David Demelier <markand@malikania.fr>
parents:
diff
changeset
|
17 |
0662f2b4f32e
mate/mate-icon-theme: initial import, closes #1453
David Demelier <markand@malikania.fr>
parents:
diff
changeset
|
18 if [ "$1" = "install" ]; then |
530 | 19 chroot $DESTDIR /bin/gtk-update-icon-cache -fqt /share/icons/hicolor |
478
0662f2b4f32e
mate/mate-icon-theme: initial import, closes #1453
David Demelier <markand@malikania.fr>
parents:
diff
changeset
|
20 fi |