irc/irccd/irccd-post.sh

Fri, 15 Nov 2019 20:05:00 +0100

author
David Demelier <markand@malikania.fr>
date
Fri, 15 Nov 2019 20:05:00 +0100
changeset 1207
c9592a9a949b
parent 1115
297b5eef115e
child 1288
9867e578b1a9
permissions
-rw-r--r--

python/python2: add DEPRECATED tag

1115
297b5eef115e vanilla: change shebangs to /bin/sh
David Demelier <markand@malikania.fr>
parents: 1060
diff changeset
1 #!/bin/sh
1060
89ba3e75ca96 irc/irccd: initial import, closes #1709
David Demelier <markand@malikania.fr>
parents:
diff changeset
2 #
89ba3e75ca96 irc/irccd: initial import, closes #1709
David Demelier <markand@malikania.fr>
parents:
diff changeset
3 # Copyright (c) 2019 David Demelier <markand@malikania.fr>
89ba3e75ca96 irc/irccd: initial import, closes #1709
David Demelier <markand@malikania.fr>
parents:
diff changeset
4 #
89ba3e75ca96 irc/irccd: initial import, closes #1709
David Demelier <markand@malikania.fr>
parents:
diff changeset
5 # Permission to use, copy, modify, and/or distribute this software for any
89ba3e75ca96 irc/irccd: initial import, closes #1709
David Demelier <markand@malikania.fr>
parents:
diff changeset
6 # purpose with or without fee is hereby granted, provided that the above
89ba3e75ca96 irc/irccd: initial import, closes #1709
David Demelier <markand@malikania.fr>
parents:
diff changeset
7 # copyright notice and this permission notice appear in all copies.
89ba3e75ca96 irc/irccd: initial import, closes #1709
David Demelier <markand@malikania.fr>
parents:
diff changeset
8 #
89ba3e75ca96 irc/irccd: initial import, closes #1709
David Demelier <markand@malikania.fr>
parents:
diff changeset
9 # THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
89ba3e75ca96 irc/irccd: initial import, closes #1709
David Demelier <markand@malikania.fr>
parents:
diff changeset
10 # WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
89ba3e75ca96 irc/irccd: initial import, closes #1709
David Demelier <markand@malikania.fr>
parents:
diff changeset
11 # MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
89ba3e75ca96 irc/irccd: initial import, closes #1709
David Demelier <markand@malikania.fr>
parents:
diff changeset
12 # ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
89ba3e75ca96 irc/irccd: initial import, closes #1709
David Demelier <markand@malikania.fr>
parents:
diff changeset
13 # WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
89ba3e75ca96 irc/irccd: initial import, closes #1709
David Demelier <markand@malikania.fr>
parents:
diff changeset
14 # ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
89ba3e75ca96 irc/irccd: initial import, closes #1709
David Demelier <markand@malikania.fr>
parents:
diff changeset
15 # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
89ba3e75ca96 irc/irccd: initial import, closes #1709
David Demelier <markand@malikania.fr>
parents:
diff changeset
16 #
89ba3e75ca96 irc/irccd: initial import, closes #1709
David Demelier <markand@malikania.fr>
parents:
diff changeset
17
89ba3e75ca96 irc/irccd: initial import, closes #1709
David Demelier <markand@malikania.fr>
parents:
diff changeset
18 if [ "$1" = "post-install" ]; then
89ba3e75ca96 irc/irccd: initial import, closes #1709
David Demelier <markand@malikania.fr>
parents:
diff changeset
19 install -dm0755 -o irccd -girccd /var/run/irccd
89ba3e75ca96 irc/irccd: initial import, closes #1709
David Demelier <markand@malikania.fr>
parents:
diff changeset
20 fi

mercurial