blob: 5ecbcd097210ad7450ac6b38ca380a92f86423d2 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
--- PEAR/Installer.php.orig Mon Aug 21 10:20:13 2006
+++ PEAR/Installer.php Mon Aug 21 10:20:53 2006
@@ -1464,7 +1464,8 @@
$this->log(0, $e[0]);
}
}
- // {{{ Delete the files
+ // {{{ Delete the files, if not set 'register-only' option
+ if (!isset($options['register-only'])) {
$this->startFileTransaction();
PEAR::pushErrorHandling(PEAR_ERROR_RETURN);
if (PEAR::isError($err = $this->_deletePackageFiles($package, $channel))) {
@@ -1505,6 +1506,7 @@
}
}
// }}}
+ }
$this->configSet('default_channel', $savechannel);
// Register that the package is no longer installed
|