diff options
author | Carlo Landmeter <clandmeter@gmail.com> | 2016-08-26 11:10:07 +0200 |
---|---|---|
committer | Carlo Landmeter <clandmeter@gmail.com> | 2016-08-26 11:10:07 +0200 |
commit | a39e19f96447a409ae6f6c1c63d3c16feb1a3991 (patch) | |
tree | 148fdebc95bfd8788f91996703d2094c1b8df4da /testing/homer-api/homer-move-config2etc.patch | |
parent | c5240dc4d2a5efc26b94c943d87848e51ba2794b (diff) | |
download | aports-a39e19f96447a409ae6f6c1c63d3c16feb1a3991.tar.bz2 aports-a39e19f96447a409ae6f6c1c63d3c16feb1a3991.tar.xz |
unmaintained/[multiple] move back packages to testing
move back packages that are depends of other packages in testing
Diffstat (limited to 'testing/homer-api/homer-move-config2etc.patch')
-rw-r--r-- | testing/homer-api/homer-move-config2etc.patch | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/testing/homer-api/homer-move-config2etc.patch b/testing/homer-api/homer-move-config2etc.patch new file mode 100644 index 0000000000..2fe0c493f0 --- /dev/null +++ b/testing/homer-api/homer-move-config2etc.patch @@ -0,0 +1,33 @@ +--- a/api/configuration.php ++++ b/api/configuration.php +@@ -25,7 +25,7 @@ + + /* INCLUDE preferences */ + +-include_once("preferences.php"); ++include_once("/etc/homer/preferences.php"); + + endif; + +--- a/api/index.php ++++ b/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); +--- a/scripts/homer_rotate ++++ b/scripts/homer_rotate +@@ -5,7 +5,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 + new_table="$bin_dir/homer_mysql_new_table.pl" + programm="$bin_dir/homer_mysql_partrotate_unixtimestamp.pl" + |