[vhffs-dev] [581] Fixed some hardcoded perl path and use lib. |
[ Thread Index |
Date Index
| More vhffs.org/vhffs-dev Archives
]
Revision: 581
Author: beuss
Date: 2007-04-19 09:53:37 +0000 (Thu, 19 Apr 2007)
Log Message:
-----------
Fixed some hardcoded perl path and use lib.
Removed reference to a no more existing file in vhffs-panel/Makefile.am.
Modified Paths:
--------------
trunk/vhffs-panel/Makefile.am
trunk/vhffs-robots/src/create_dns.pl
trunk/vhffs-robots/src/create_mail.pl
trunk/vhffs-robots/src/delete_mail.pl
trunk/vhffs-robots/src/dump_pgsql.pl
trunk/vhffs-robots/src/generate_repositorystats.pl
Modified: trunk/vhffs-panel/Makefile.am
===================================================================
--- trunk/vhffs-panel/Makefile.am 2007-04-19 07:01:08 UTC (rev 580)
+++ trunk/vhffs-panel/Makefile.am 2007-04-19 09:53:37 UTC (rev 581)
@@ -88,7 +88,6 @@
cvs/prefs.pl \
dns/create.pl \
dns/delete.pl \
- dns/dns_submit.pl \
dns/prefs.pl \
group/create.pl \
group/delete.pl \
Modified: trunk/vhffs-robots/src/create_dns.pl
===================================================================
--- trunk/vhffs-robots/src/create_dns.pl 2007-04-19 07:01:08 UTC (rev 580)
+++ trunk/vhffs-robots/src/create_dns.pl 2007-04-19 09:53:37 UTC (rev 581)
@@ -30,7 +30,7 @@
# ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
# POSSIBILITY OF SUCH DAMAGE.
-use lib '/usr/share/vhffs/api';
+use lib '%VHFFS_LIB_DIR%';
use Vhffs::Services::DNS;
use Vhffs::Robots;
Modified: trunk/vhffs-robots/src/create_mail.pl
===================================================================
--- trunk/vhffs-robots/src/create_mail.pl 2007-04-19 07:01:08 UTC (rev 580)
+++ trunk/vhffs-robots/src/create_mail.pl 2007-04-19 09:53:37 UTC (rev 581)
@@ -34,7 +34,7 @@
# FIXME : This robot is unnecessary, we just have to activate mailbox on creation
-use lib '/usr/share/vhffs/api';
+use lib '%VHFFS_LIB_DIR%';
use Vhffs::Services::Mail;
use Vhffs::Robots;
use Vhffs::Main;
Modified: trunk/vhffs-robots/src/delete_mail.pl
===================================================================
--- trunk/vhffs-robots/src/delete_mail.pl 2007-04-19 07:01:08 UTC (rev 580)
+++ trunk/vhffs-robots/src/delete_mail.pl 2007-04-19 09:53:37 UTC (rev 581)
@@ -30,7 +30,7 @@
# POSSIBILITY OF SUCH DAMAGE.
-use lib '/usr/share/vhffs/api';
+use lib '%VHFFS_LIB_DIR%';
use Vhffs::Services::Mail;
use Vhffs::Services::Mailing;
Modified: trunk/vhffs-robots/src/dump_pgsql.pl
===================================================================
--- trunk/vhffs-robots/src/dump_pgsql.pl 2007-04-19 07:01:08 UTC (rev 580)
+++ trunk/vhffs-robots/src/dump_pgsql.pl 2007-04-19 09:53:37 UTC (rev 581)
@@ -35,7 +35,7 @@
#
use strict;
-use lib "/usr/share/vhffs/api/";
+use lib '%VHFFS_LIB_DIR%';
use Vhffs::Main;
use Vhffs::User;
use Vhffs::Group;
Modified: trunk/vhffs-robots/src/generate_repositorystats.pl
===================================================================
--- trunk/vhffs-robots/src/generate_repositorystats.pl 2007-04-19 07:01:08 UTC (rev 580)
+++ trunk/vhffs-robots/src/generate_repositorystats.pl 2007-04-19 09:53:37 UTC (rev 581)
@@ -1,4 +1,4 @@
-#!/usr/bin/perl -w
+#!%PERL%
# Copyright (c) vhffs project and its contributors
# All rights reserved.
#
@@ -36,7 +36,7 @@
#CustomLog /var/log/apache2/http.log vhffs
use strict;
-use lib "/usr/share/vhffs/api/";
+use lib '%VHFFS_LIB_DIR%';
use Vhffs::Main;
use Vhffs::Conf;
use Vhffs::Functions;