Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/lib/common-functions
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-03-20 10:33:35 +0100
committerErich Eckner <git@eckner.net>2018-03-20 10:33:35 +0100
commitbd5173dc0c845e0e01de8aed01bd85b0e6646344 (patch)
tree22e13e878d0c04741a87f81e94eac5f9bb067975 /lib/common-functions
parent90a9a1999e0d5a82dca830d43f9e73fd87392dd7 (diff)
lib/common-functions: irc_say new
Diffstat (limited to 'lib/common-functions')
-rwxr-xr-xlib/common-functions8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/common-functions b/lib/common-functions
index 1abe7bc..aa32409 100755
--- a/lib/common-functions
+++ b/lib/common-functions
@@ -1390,3 +1390,11 @@ extract_pkgname_epoch_pkgver_pkgrel_sub_pkgrel_arch_from_package_name() {
epoch="${epoch%%:*}"
fi
}
+
+# irc_say
+# say content of stdin in irc channel
+irc_say() {
+ if [ -p "${irc_dir}/#archlinux32/in" ]; then
+ sponge "${irc_dir}/#archlinux32/in"
+ fi
+}