summaryrefslogtreecommitdiffstats
path: root/scripts/aurblup/aurblup-wrapper
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/aurblup/aurblup-wrapper')
-rwxr-xr-xscripts/aurblup/aurblup-wrapper21
1 files changed, 0 insertions, 21 deletions
diff --git a/scripts/aurblup/aurblup-wrapper b/scripts/aurblup/aurblup-wrapper
deleted file mode 100755
index c7b20afe..00000000
--- a/scripts/aurblup/aurblup-wrapper
+++ /dev/null
@@ -1,21 +0,0 @@
-#!/usr/bin/php
-<?php
-$dir = $argv[1];
-
-if (empty($dir)) {
- echo "Please specify AUR directory.\n";
- exit;
-}
-
-set_include_path(get_include_path() . PATH_SEPARATOR . "$dir/lib");
-include("confparser.inc.php");
-
-$user = config_get('database', 'user');
-$password = config_get('database', 'password');
-$name = config_get('database', 'name');
-
-exec($dir . "/../scripts/aurblup/aurblup " .
- "-S /var/run/mysqld/mysqld.sock " .
- "-u " . escapeshellarg($user) . " " .
- "-p " . escapeshellarg($password) . " " .
- "-D " . escapeshellarg($name));