-AUX tinyerp-client-4.0.0-setup.patch 735 RMD160 5529ade68a5a6b2c09d47dc71a64763400ac7880 SHA1 c0fc50fde6c0072aa65e4da91fd4c03cb6ebd036 SHA256 6cf0f73f46c8f373add5e9e4d508db276a56d3e27164d891345b10d7591e1752
-MD5 d773a6d3e1bb435171dc7eff57bf1215 files/tinyerp-client-4.0.0-setup.patch 735
-RMD160 5529ade68a5a6b2c09d47dc71a64763400ac7880 files/tinyerp-client-4.0.0-setup.patch 735
-SHA256 6cf0f73f46c8f373add5e9e4d508db276a56d3e27164d891345b10d7591e1752 files/tinyerp-client-4.0.0-setup.patch 735
-AUX tinyerp-client-4.0.1-setup.patch 735 RMD160 de8f2776d303fd226f4b1fa60720be6420e553c9 SHA1 7a9d55394fa617707df2df5b1a97ebfd0748e35a SHA256 57acd9f6a854279fa709ea572908324f34f316b63250830c8823427390ba1228
-MD5 b003f52aedbb66b1ac34e9be443a7c01 files/tinyerp-client-4.0.1-setup.patch 735
-RMD160 de8f2776d303fd226f4b1fa60720be6420e553c9 files/tinyerp-client-4.0.1-setup.patch 735
-SHA256 57acd9f6a854279fa709ea572908324f34f316b63250830c8823427390ba1228 files/tinyerp-client-4.0.1-setup.patch 735
AUX tinyerp-client-4.0.2-setup.patch 348 RMD160 9a6652116cc4da9644b41b7478726fa66bc4e2bf SHA1 d12e7abaa7ebd51e3bd98bc087b145d9ace74dc9 SHA256 1234f71bdeb7db273660b5bc0d448f800bf910a4341993a9f4654d51348fcdf0
MD5 3fe67cd2a1924003193496cf0decae25 files/tinyerp-client-4.0.2-setup.patch 348
RMD160 9a6652116cc4da9644b41b7478726fa66bc4e2bf files/tinyerp-client-4.0.2-setup.patch 348
SHA256 1234f71bdeb7db273660b5bc0d448f800bf910a4341993a9f4654d51348fcdf0 files/tinyerp-client-4.0.2-setup.patch 348
-DIST tinyerp-client-4.0.0.tar.gz 1606861 RMD160 183d143da956a6858fbd3bb8c163524412bfb27f SHA1 67f0c6f7bfbf98643bf54775d9034d8a285f4ee7 SHA256 11435f0eaff834f71945eb7c2c6fb2dc57f8deafdb2c8c8585b5a1cd1a734055
-DIST tinyerp-client-4.0.1.tar.gz 1624210 RMD160 d1e8c6a7a67b4ad538d5a1bfe1fd49d9b51c599f SHA1 0b6aee60bc0bdb6e30243ce3f2261622ce001ef3 SHA256 ebf66d49c36dbabcbeb3184e6552d55a866ce3206ba13ad3fbcb0d12aec9442d
DIST tinyerp-client-4.0.2.tar.gz 1624178 RMD160 b47a195d25ea6398f619190f26d807d9e20fa180 SHA1 08c9ecd738581b447d7246347e217cb9ae8fdb7c SHA256 6bd706a6cd753f11d036af4b40b766cc5b37580d8a5dbb0b5ea904e6c5a6f157
-EBUILD tinyerp-client-4.0.0.ebuild 646 RMD160 b05ca92b0d0b227fd687a42561cffebcc58f5564 SHA1 5e4dfda6c2d96d03cd7f746d00f49f605204eb42 SHA256 629898aef0513c1ca4191b4bc7c5b3c455434a3807310a93dd956f8dcf728475
-MD5 7185c15efc75dd587f167a3ab8d58335 tinyerp-client-4.0.0.ebuild 646
-RMD160 b05ca92b0d0b227fd687a42561cffebcc58f5564 tinyerp-client-4.0.0.ebuild 646
-SHA256 629898aef0513c1ca4191b4bc7c5b3c455434a3807310a93dd956f8dcf728475 tinyerp-client-4.0.0.ebuild 646
-EBUILD tinyerp-client-4.0.1.ebuild 802 RMD160 434ac75ce2e8fbecb5c4b6f45c834fb8550233a9 SHA1 a0c0a7c1171edd01a276d9c660d4c15b3593c73c SHA256 04d2d6313940718c17e69d96ecca7d24ceb6d0bed370fd4e87d1392ccacf36b8
-MD5 195da5da9c753a2edc13e37a92215cb3 tinyerp-client-4.0.1.ebuild 802
-RMD160 434ac75ce2e8fbecb5c4b6f45c834fb8550233a9 tinyerp-client-4.0.1.ebuild 802
-SHA256 04d2d6313940718c17e69d96ecca7d24ceb6d0bed370fd4e87d1392ccacf36b8 tinyerp-client-4.0.1.ebuild 802
+DIST tinyerp-client-4.0.3.tar.gz 1625544 RMD160 392c05f5922d543626acc9782d74042ae6c860ba SHA1 65a9dad421a9069905e6207589995530cb7ac959 SHA256 0e8df76f53c18f01822d07bd9c381be5b4cf8f3f17bef48e7d2ab2b42069feb7
EBUILD tinyerp-client-4.0.2.ebuild 802 RMD160 ff55bfed3611119ad1bce43293ede16c1de3d048 SHA1 76d0c5972266b3eb89f4f087de1a98dedd6888b5 SHA256 2f0a3463dc443e61bc78c41f0bdff8e810b8a8a86a67beefdd54b09f7cae8a18
MD5 f55a20536ade3d5b1360a5833609e358 tinyerp-client-4.0.2.ebuild 802
RMD160 ff55bfed3611119ad1bce43293ede16c1de3d048 tinyerp-client-4.0.2.ebuild 802
SHA256 2f0a3463dc443e61bc78c41f0bdff8e810b8a8a86a67beefdd54b09f7cae8a18 tinyerp-client-4.0.2.ebuild 802
-MISC ChangeLog 1089 RMD160 c3c80e5fa095bccfa1d1e6ac2979c0248f2b6eb7 SHA1 503b53f6553f587e660fdc107f7dbed47df26cc6 SHA256 eab06c3bf39864b080be4a02271c5ea87489571e695bfa357ef9fa1a7ad6401e
-MD5 fd9ceec2421af4b68b7054ed13a25211 ChangeLog 1089
-RMD160 c3c80e5fa095bccfa1d1e6ac2979c0248f2b6eb7 ChangeLog 1089
-SHA256 eab06c3bf39864b080be4a02271c5ea87489571e695bfa357ef9fa1a7ad6401e ChangeLog 1089
+EBUILD tinyerp-client-4.0.3.ebuild 836 RMD160 aaf608d3edb5eee6c97e165facd302945a8638a7 SHA1 f667b8190eadede8e05e26bcb29cdb769fe962a2 SHA256 fd568aa30283fadee8f1b0cd6d4d4c60149ea6dbaa9a0a0c2776e1168e79bb2a
+MD5 e18ed356a684270b64e58f6a1f5c3ace tinyerp-client-4.0.3.ebuild 836
+RMD160 aaf608d3edb5eee6c97e165facd302945a8638a7 tinyerp-client-4.0.3.ebuild 836
+SHA256 fd568aa30283fadee8f1b0cd6d4d4c60149ea6dbaa9a0a0c2776e1168e79bb2a tinyerp-client-4.0.3.ebuild 836
+MISC ChangeLog 1363 RMD160 dcd14d4ab6c25a57cdf4bbeac668ef0f6f465b66 SHA1 9f3199894236ddf516c2a89f654f8d012ddd5f31 SHA256 dc5a6df7ca940b159b0dcfb1e5a9a373699158aa353590895ab5d85655cbabcb
+MD5 a661856015599eac04e1a88a85219209 ChangeLog 1363
+RMD160 dcd14d4ab6c25a57cdf4bbeac668ef0f6f465b66 ChangeLog 1363
+SHA256 dc5a6df7ca940b159b0dcfb1e5a9a373699158aa353590895ab5d85655cbabcb ChangeLog 1363
MISC metadata.xml 291 RMD160 4c07af26f28d31237a0f067f27fe72027e4fa808 SHA1 d761c5f5a5f4bd56d8dfee256cb7cd8adc3d85b6 SHA256 7b2c3f60cfa8ac951acd396bc76dfa5d6050d3b98bc31e117c100b05f7305ed1
MD5 2c7b8c790b41bbd33a9c0481c8e40808 metadata.xml 291
RMD160 4c07af26f28d31237a0f067f27fe72027e4fa808 metadata.xml 291
SHA256 7b2c3f60cfa8ac951acd396bc76dfa5d6050d3b98bc31e117c100b05f7305ed1 metadata.xml 291
-MD5 c79f0ccaecfe80f452a90d3dbe029907 files/digest-tinyerp-client-4.0.0 265
-RMD160 0f485a2583adc5c8e920115f9a12f4d4437f02ec files/digest-tinyerp-client-4.0.0 265
-SHA256 42c968a95a32ef1833fbcf90083657ddfe0f2bac39bb8186367fdac0db8f8ae6 files/digest-tinyerp-client-4.0.0 265
-MD5 6776fa05ec02addcb00b1772f089d83e files/digest-tinyerp-client-4.0.1 265
-RMD160 28ead4c8240f22de078477be78af2cd6f13aee21 files/digest-tinyerp-client-4.0.1 265
-SHA256 5606df84b665d36f50632553cd795079af08ab5517fb1c60c72a38bec58076a0 files/digest-tinyerp-client-4.0.1 265
MD5 30ff461f9cc30e2e634581a3117ac28e files/digest-tinyerp-client-4.0.2 265
RMD160 b371f1acd9a729389e3595ad65cd3bc0f4255e95 files/digest-tinyerp-client-4.0.2 265
SHA256 90f34ddb156dc78a9b8b818ff888d98829edcc219f95882af8ca4c087df48638 files/digest-tinyerp-client-4.0.2 265
+MD5 26dc98a1115613d2d8dc7b9cec005cca files/digest-tinyerp-client-4.0.3 265
+RMD160 7e7c0c8765173a150e88604bd42a1ef501decfdd files/digest-tinyerp-client-4.0.3 265
+SHA256 42ca0df64a7346649a7ed645065091767f5f5e2239a1aae18ddc3a5648072e7d files/digest-tinyerp-client-4.0.3 265
# ChangeLog for app-office/tinyerp-server
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-office/tinyerp-server/ChangeLog,v 1.7 2007/02/03 04:19:20 beandog Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-office/tinyerp-server/ChangeLog,v 1.8 2007/03/17 12:23:16 cedk Exp $
+
+*tinyerp-server-4.0.3 (17 Mar 2007)
+
+ 17 Mar 2007; Cedric Krier <cedk@gentoo.org>
+ -files/tinyerp-server-4.0.0-setup.patch,
+ -files/tinyerp-server-4.0.1-setup.patch,
+ +files/tinyerp-server-4.0.3-setup.patch, +tinyerp-server-4.0.3.ebuild:
+ Version bump
03 Feb 2007; Steve Dibb <beandog@gentoo.org> tinyerp-server-4.0.2.ebuild:
add ~amd64, bug 164086
MD5 81199ace2e5813250d9c800d7a5f9c17 files/tinyerp-init.d 913
RMD160 2487a20770869abc35d0b2f5e2905434f83e051b files/tinyerp-init.d 913
SHA256 13b26fa788fbb0c0cedb9e5e53d49e0741654270f953958275c87167d698c42f files/tinyerp-init.d 913
-AUX tinyerp-server-4.0.0-setup.patch 816 RMD160 4e68502570823e167d59f3026754eda26d02aacd SHA1 d57c73c484173c551f22b92b032325479fdc9fc4 SHA256 c457f9353bd59dbd0109faef4f4069a14f91f0862b10914bd8c94c2f8c9afbd6
-MD5 5c3774fd905acc54d1bff263e5faaaf9 files/tinyerp-server-4.0.0-setup.patch 816
-RMD160 4e68502570823e167d59f3026754eda26d02aacd files/tinyerp-server-4.0.0-setup.patch 816
-SHA256 c457f9353bd59dbd0109faef4f4069a14f91f0862b10914bd8c94c2f8c9afbd6 files/tinyerp-server-4.0.0-setup.patch 816
-AUX tinyerp-server-4.0.1-setup.patch 1029 RMD160 6b78222bba4be1fadb726a57aaf073a993806422 SHA1 b0d93bbb992c9404fdbab6e4a53ade91ff765086 SHA256 2d80babf933a46e981d5f30dfe63e977d3afc0709a1efb8461625dc33456e97e
-MD5 ee59655f48bb2b147c78ea5cac78e05b files/tinyerp-server-4.0.1-setup.patch 1029
-RMD160 6b78222bba4be1fadb726a57aaf073a993806422 files/tinyerp-server-4.0.1-setup.patch 1029
-SHA256 2d80babf933a46e981d5f30dfe63e977d3afc0709a1efb8461625dc33456e97e files/tinyerp-server-4.0.1-setup.patch 1029
+AUX tinyerp-server-4.0.3-setup.patch 664 RMD160 9c3a42a5930bb18a5f55dba543cbb148884f836c SHA1 b6cdc60631e2d8db55fc3871c837e271bdf9640a SHA256 2cd0d6948370e5201b4a8805f8ac2c21bacaba66121fcd5dfa843dbbfcb9c564
+MD5 f97a5c6b9e9441972c2c610279b1f305 files/tinyerp-server-4.0.3-setup.patch 664
+RMD160 9c3a42a5930bb18a5f55dba543cbb148884f836c files/tinyerp-server-4.0.3-setup.patch 664
+SHA256 2cd0d6948370e5201b4a8805f8ac2c21bacaba66121fcd5dfa843dbbfcb9c564 files/tinyerp-server-4.0.3-setup.patch 664
DIST tinyerp-server-4.0.2.tar.gz 2997803 RMD160 ca691744a8599fd104c64390340977a989b9f1ff SHA1 bfbe611a4b33477ace2bc34f1863bd4ef97d8ba2 SHA256 38efc47defd1470e053dbc8a772678a03e7940a9dc4ca397bafc8e6216eb6847
+DIST tinyerp-server-4.0.3.tar.gz 2999409 RMD160 a3261d3becebdf13e466c1dfa3ac3b4cd3d46c9e SHA1 acc9db40f26933f29e0848a8fdd9e94dcf987402 SHA256 a770b5b9caa32b989936a249c754135a1d3b277a902344458446905ae7853251
EBUILD tinyerp-server-4.0.2.ebuild 1814 RMD160 7fe44687b844a55976a57e12dcaad9a8bbbfec99 SHA1 dd9e84e3838f7d983b2257f363e4c1955b66a03c SHA256 f37da4c6ed2c41c98d27a4a9604a944fc0443af05add490d97f65e6af45b1dc9
MD5 dd7cfd0eb0c1d9ded463b64f707492ae tinyerp-server-4.0.2.ebuild 1814
RMD160 7fe44687b844a55976a57e12dcaad9a8bbbfec99 tinyerp-server-4.0.2.ebuild 1814
SHA256 f37da4c6ed2c41c98d27a4a9604a944fc0443af05add490d97f65e6af45b1dc9 tinyerp-server-4.0.2.ebuild 1814
-MISC ChangeLog 1433 RMD160 d55a21b32bd3b7dee31a19e97e83aa9c1edab418 SHA1 ba186014575dfd16382dfdbaf20fcf1ac159c3f4 SHA256 b9c627dee4107c07f17eeaec8089bfbd4e93ffcdca799edba0ba7b6e9d219a7c
-MD5 0d6703e1fd602346a6ac7dfd7dfa3562 ChangeLog 1433
-RMD160 d55a21b32bd3b7dee31a19e97e83aa9c1edab418 ChangeLog 1433
-SHA256 b9c627dee4107c07f17eeaec8089bfbd4e93ffcdca799edba0ba7b6e9d219a7c ChangeLog 1433
+EBUILD tinyerp-server-4.0.3.ebuild 1933 RMD160 6f8e492809113a2dd228d8b673668dcfb28333de SHA1 54139693f401d02930d97d85e712fea1a69db673 SHA256 0546f7e00b6e68518174f349723f0914953861e651d57fff2cd9115c25136336
+MD5 383118796838431061e9804ff4743f7d tinyerp-server-4.0.3.ebuild 1933
+RMD160 6f8e492809113a2dd228d8b673668dcfb28333de tinyerp-server-4.0.3.ebuild 1933
+SHA256 0546f7e00b6e68518174f349723f0914953861e651d57fff2cd9115c25136336 tinyerp-server-4.0.3.ebuild 1933
+MISC ChangeLog 1688 RMD160 cbcb0abd7c9c4e981a79c1e9934041ba0d40933e SHA1 81b319dcc3a44b33e27af3667b8d8919a242e7f8 SHA256 104eeea2708f896325278a2d650f939cb63cbb897fa27ec40d2c3cc689182222
+MD5 16e3381713dd04691b44e267412407f8 ChangeLog 1688
+RMD160 cbcb0abd7c9c4e981a79c1e9934041ba0d40933e ChangeLog 1688
+SHA256 104eeea2708f896325278a2d650f939cb63cbb897fa27ec40d2c3cc689182222 ChangeLog 1688
MISC metadata.xml 284 RMD160 ac769fb0d742e57e331042699926a209194189c6 SHA1 adf5999b09847fd8a7b82aa1b8d0f78296b676a5 SHA256 fcb9a8a44ce9ce002637c2e430ae9f6ee90468eed6aad3b6306c200f1dc233b8
MD5 7b5e8018fb81b89379122a48a5620125 metadata.xml 284
RMD160 ac769fb0d742e57e331042699926a209194189c6 metadata.xml 284
MD5 2ded345e084a3606dbab2782103a18d7 files/digest-tinyerp-server-4.0.2 265
RMD160 81e87cb8050d4ba68acf0bf94d57277bfdcf1663 files/digest-tinyerp-server-4.0.2 265
SHA256 2164a993b6af2eb7207301dd16d3f85278f1befdce33dfb6ae885a37558f07bd files/digest-tinyerp-server-4.0.2 265
+MD5 525a7e940be102815ef912d7c4b1a8d2 files/digest-tinyerp-server-4.0.3 265
+RMD160 2f4ac77a31aff75e63e1d9f78b7fefd9ded24d48 files/digest-tinyerp-server-4.0.3 265
+SHA256 abb62755426e7df83519bf1aca8334d25e253fb8ed6a3473a7d6d565bbd70129 files/digest-tinyerp-server-4.0.3 265
--- /dev/null
+MD5 afb7b58d1dde3b70f65cdb9fb9f4a2f1 tinyerp-server-4.0.3.tar.gz 2999409
+RMD160 a3261d3becebdf13e466c1dfa3ac3b4cd3d46c9e tinyerp-server-4.0.3.tar.gz 2999409
+SHA256 a770b5b9caa32b989936a249c754135a1d3b277a902344458446905ae7853251 tinyerp-server-4.0.3.tar.gz 2999409
+++ /dev/null
-diff -ru tinyerp-server-4.0.0~/setup.py tinyerp-server-4.0.0/setup.py
---- tinyerp-server-4.0.0~/setup.py 2006-12-06 19:57:57.000000000 +0100
-+++ tinyerp-server-4.0.0/setup.py 2006-12-06 19:58:13.000000000 +0100
-@@ -89,7 +89,7 @@
- ['man/terp_serverrc.5']),
- (opj('share','doc', 'tinyerp-server-%s' % version),
- [f for f in glob.glob('doc/*') if os.path.isfile(f)]),
-- (opj('lib','python%s' % py_short_version, 'site-package', 'tinyerp-server', 'i18n'),
-+ (opj('lib','python%s' % py_short_version, 'site-packages', 'tinyerp-server', 'i18n'),
- glob.glob('bin/i18n/*')),
- (opj('lib', 'python%s' % py_short_version, 'site-packages', 'tinyerp-server', 'addons', 'custom'),
- glob.glob('bin/addons/custom/*xml') +
+++ /dev/null
-diff -ru tinyerp-server-4.0.1~/setup.py tinyerp-server-4.0.1/setup.py
---- tinyerp-server-4.0.1~/setup.py 2006-12-23 17:42:08.000000000 +0100
-+++ tinyerp-server-4.0.1/setup.py 2006-12-23 17:47:59.000000000 +0100
-@@ -89,6 +89,10 @@
- ['man/terp_serverrc.5']),
- (opj('share','doc', 'tinyerp-server-%s' % version),
- [f for f in glob.glob('doc/*') if os.path.isfile(f)]),
-+ (opj('share','doc', 'tinyerp-server-%s' % version, 'migrate', '3.3.0-3.4.0'),
-+ [f for f in glob.glob('doc/migrate/3.3.0-3.4.0/*') if os.path.isfile(f)]),
-+ (opj('share','doc', 'tinyerp-server-%s' % version, 'migrate', '3.4.0-4.0.0'),
-+ [f for f in glob.glob('doc/migrate/3.4.0-4.0.0/*') if os.path.isfile(f)]),
- (opj('lib','python%s' % py_short_version, 'site-packages', 'tinyerp-server', 'i18n'),
- glob.glob('bin/i18n/*')),
- (opj('lib', 'python%s' % py_short_version, 'site-packages', 'tinyerp-server', 'addons', 'custom'),
--- /dev/null
+diff -ru tinyerp-server-4.0.3~/setup.py tinyerp-server-4.0.3/setup.py
+--- tinyerp-server-4.0.3~/setup.py 2007-03-17 12:33:46.000000000 +0100
++++ tinyerp-server-4.0.3/setup.py 2007-03-17 12:34:02.000000000 +0100
+@@ -159,7 +159,6 @@
+ 'tinyerp-server.osv',
+ 'tinyerp-server.ssl',
+ 'tinyerp-server.service', 'tinyerp-server.tools',
+- 'tinyerp-server.pychart', 'tinyerp-server.pychart.afm',
+ 'tinyerp-server.report',
+ 'tinyerp-server.report.printscreen',
+ 'tinyerp-server.report.render',
--- /dev/null
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-office/tinyerp-server/tinyerp-server-4.0.3.ebuild,v 1.1 2007/03/17 12:23:16 cedk Exp $
+
+inherit eutils distutils
+
+DESCRIPTION="Open Source ERP & CRM"
+HOMEPAGE="http://tinyerp.org/"
+SRC_URI="http://www.tinyerp.org/download/old/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND=">=dev-db/postgresql-7.4
+ dev-python/pypgsql
+ dev-python/reportlab
+ dev-python/pyparsing
+ media-gfx/pydot
+ =dev-python/psycopg-1*
+ dev-libs/libxml2
+ dev-libs/libxslt
+ dev-python/pychart"
+
+TINYERP_USER=terp
+TINYERP_GROUP=terp
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ epatch "${FILESDIR}"/${P}-setup.patch
+}
+
+pkg_setup() {
+ if ! built_with_use dev-libs/libxslt python ; then
+ eerror "dev-libs/libxslt must be built with python"
+ die "${PN} requires dev-libs/libxslt with USE=python"
+ fi
+}
+
+src_install() {
+ distutils_src_install
+
+ newinitd "${FILESDIR}"/tinyerp-init.d tinyerp
+ newconfd "${FILESDIR}"/tinyerp-conf.d tinyerp
+
+ keepdir /var/run/tinyerp
+ keepdir /var/log/tinyerp
+}
+
+pkg_preinst() {
+ enewgroup ${TINYERP_GROUP}
+ enewuser ${TINYERP_USER} -1 -1 -1 ${TINYERP_GROUP}
+
+ fowners ${TINYERP_USER}:${TINYERP_GROUP} /var/run/tinyerp
+ fowners ${TINYERP_USER}:${TINYERP_GROUP} /var/log/tinyerp
+}
+
+pkg_postinst() {
+ elog "In order to setup the initial database, run:"
+ elog " emerge --config =${CATEGORY}/${PF}"
+ elog "Be sure the database is started before"
+}
+
+pquery() {
+ psql -q -At -U postgres -d template1 -c "$@"
+}
+
+pkg_config() {
+ einfo "In the following, the 'postgres' user will be used."
+ if ! pquery "SELECT usename FROM pg_user WHERE usename = '${TINYERP_USER}'" | grep -q ${TINYERP_USER}; then
+ ebegin "Creating database user ${TINYERP_USER}"
+ createuser --quiet --username=postgres --createdb ${TINYERP_USER}
+ eend $? || die "Failed to create database user"
+ fi
+}