aboutsummaryrefslogtreecommitdiffstats
path: root/testing/homer-api/homer-move-config2etc.patch
diff options
context:
space:
mode:
authorKaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>2017-02-07 16:59:08 +0200
committerKaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>2017-02-07 17:02:41 +0200
commit52f0204a3c245e804d6d72c3d5a9459d3beb10cf (patch)
treea577525a179e012a34964fc0e15547732a1106e8 /testing/homer-api/homer-move-config2etc.patch
parente4a237db89475f7747c8ad13feea37f51a10d7da (diff)
downloadaports-52f0204a3c245e804d6d72c3d5a9459d3beb10cf.tar.bz2
aports-52f0204a3c245e804d6d72c3d5a9459d3beb10cf.tar.xz
testing/homer-api: clean up layout
Diffstat (limited to 'testing/homer-api/homer-move-config2etc.patch')
-rw-r--r--testing/homer-api/homer-move-config2etc.patch55
1 files changed, 0 insertions, 55 deletions
diff --git a/testing/homer-api/homer-move-config2etc.patch b/testing/homer-api/homer-move-config2etc.patch
deleted file mode 100644
index 37bcca0b11..0000000000
--- a/testing/homer-api/homer-move-config2etc.patch
+++ /dev/null
@@ -1,55 +0,0 @@
---- homer-api-5.0.6/api/configuration_example.php
-+++ homer-api-5.0.6.alpine/api/configuration_example.php
-@@ -30,7 +30,7 @@
-
- /* INCLUDE preferences */
-
--include_once("preferences.php");
-+include_once("/etc/homer/preferences.php");
-
- endif;
-
---- homer-api-5.0.6/api/index.php
-+++ homer-api-5.0.6.alpine/api/index.php
-@@ -30,7 +30,7 @@
- define('ROOT', realpath(dirname(__FILE__) . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR));
- define('_HOMEREXEC', "1");
-
--require_once("configuration.php");
-+require_once("/etc/homer/configuration.php");
-
- date_default_timezone_set(HOMER_TIMEZONE);
- ini_set('date.timezone', HOMER_TIMEZONE);
---- homer-api-5.0.6/scripts/homer_mysql_remove_partitions.pl
-+++ homer-api-5.0.6.alpine/scripts/homer_mysql_remove_partitions.pl
-@@ -31,7 +31,7 @@
- $| =1;
-
- # Determine path and set default rotation.ini location
--my $script_location = `dirname $0`;
-+my $script_location = "/etc/homer";
- $script_location =~ s/^\s+|\s+$//g;
- my $default_ini = $script_location."/rotation.ini";
-
---- homer-api-5.0.6/scripts/homer_mysql_rotate.pl
-+++ homer-api-5.0.6.alpine/scripts/homer_mysql_rotate.pl
-@@ -30,7 +30,7 @@
- $| =1;
-
- # Determine path and set default rotation.ini location
--my $script_location = `dirname $0`;
-+my $script_location = "/etc/homer";
- $script_location =~ s/^\s+|\s+$//g;
- my $default_ini = $script_location."/rotation.ini";
-
---- homer-api-5.0.6/scripts/homer_rotate
-+++ homer-api-5.0.6.alpine/scripts/homer_rotate
-@@ -3,7 +3,7 @@
- # Set correct bin path if we are running as a cron job
- PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
-
--bin_dir=`dirname $0`
-+bin_dir=/usr/share/homer-api/scripts
- programm="$bin_dir/homer_mysql_rotate.pl"
- config="$bin_dir/rotation.ini"
-