summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2014-12-24 18:04:20 (GMT)
committerBritney Fransen <brfransen@gmail.com>2014-12-24 18:04:20 (GMT)
commitf2bbd90d57e72561b839a30de815f48b5cccf60a (patch)
tree54acb1ee52acae30a237b868763ad8434678458c
parent0531c1844350eeef3dcf5d4ca3182628fc1e824c (diff)
downloadlinhes_pkgbuild-f2bbd90d57e72561b839a30de815f48b5cccf60a.zip
linhes_pkgbuild-f2bbd90d57e72561b839a30de815f48b5cccf60a.tar.gz
linhes_pkgbuild-f2bbd90d57e72561b839a30de815f48b5cccf60a.tar.bz2
func: msg.py: change wall cmd so newlines get created
-rw-r--r--abs/core/func/PKGBUILD4
-rw-r--r--abs/core/func/msg.py2
2 files changed, 3 insertions, 3 deletions
diff --git a/abs/core/func/PKGBUILD b/abs/core/func/PKGBUILD
index 1b7b000..26cfd7c 100644
--- a/abs/core/func/PKGBUILD
+++ b/abs/core/func/PKGBUILD
@@ -1,6 +1,6 @@
pkgname=func
pkgver=0.25
-pkgrel=17
+pkgrel=18
pkgdesc="fedora unifed network controller"
url=""
license="gpl"
@@ -42,6 +42,6 @@ md5sums=('892252004f122c61bb58bb4607553ffe'
'32cc4d15a3083b518d9f645b656cc273'
'c30f420c01628a08061270e8502115c5'
'b02a733b7a74569e57521bc3708724a5'
- '7b4266a8031cf7de485bf6b74e57bd74'
+ '69dd7ac7c7310cf1e9398e4e420031af'
'b816bdb222e646a7801b218c3a626b0e'
'7d7c8a334f6b46ae1e5e483854b93924')
diff --git a/abs/core/func/msg.py b/abs/core/func/msg.py
index e776b69..3b34a83 100644
--- a/abs/core/func/msg.py
+++ b/abs/core/func/msg.py
@@ -33,7 +33,7 @@ class msg(func_module.FuncModule):
cmd = sub_process.Popen("/usr/LH/bin/msg_client.py --msg \"%s\" " % text,stdout=sub_process.PIPE,shell=True)
data = cmd.communicate()[0]
- cmd = sub_process.Popen("/usr/bin/wall %s" % text,stdout=sub_process.PIPE,shell=True)
+ cmd = sub_process.Popen("/usr/bin/echo -e \"%s\" | /usr/bin/wall" % text, stdout=sub_process.PIPE,shell=True)
data = cmd.communicate()[0]
return ("Message delivered")