]> git.pld-linux.org Git - packages/php-pear-PEAR.git/commitdiff
- store statefiles in /var/lib/pear
authorElan Ruusamäe <glen@pld-linux.org>
Fri, 3 Mar 2006 21:37:25 +0000 (21:37 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    php-pear-PEAR-FHS.patch -> 1.1

php-pear-PEAR-FHS.patch [new file with mode: 0644]

diff --git a/php-pear-PEAR-FHS.patch b/php-pear-PEAR-FHS.patch
new file mode 100644 (file)
index 0000000..028219c
--- /dev/null
@@ -0,0 +1,19 @@
+--- /usr/share/pear/PEAR/Registry.php~ 2006-03-02 01:40:24.000000000 +0200
++++ /usr/share/pear/PEAR/Registry.php  2006-03-02 01:46:34.000000000 +0200
+@@ -141,12 +141,11 @@
+                            $pecl_channel = false)
+     {
+         parent::PEAR();
+-        $ds = DIRECTORY_SEPARATOR;
+         $this->install_dir = $pear_install_dir;
+-        $this->channelsdir = $pear_install_dir.$ds.'.channels';
+-        $this->statedir = $pear_install_dir.$ds.'.registry';
+-        $this->filemap  = $pear_install_dir.$ds.'.filemap';
+-        $this->lockfile = $pear_install_dir.$ds.'.lock';
++        $this->channelsdir = '/var/lib/pear/channels';
++        $this->statedir = '/var/lib/pear/registry';
++        $this->filemap  = '/var/lib/pear/.filemap';
++        $this->lockfile = '/var/lib/pear/.lock';
+         $this->_pearChannel = $pear_channel;
+         $this->_peclChannel = $pecl_channel;
+         $this->_config = false;
This page took 0.084225 seconds and 4 git commands to generate.