From 55cc03e941de0280d88b033af98842463c7da02c Mon Sep 17 00:00:00 2001 From: crestAT Date: Fri, 29 Jan 2016 03:51:53 +0100 Subject: [PATCH] beta beta release b1 --- onebuttoninstaller/onebuttoninstaller-install.php | 2 +- onebuttoninstaller/release_notes.txt | 3 ++- onebuttoninstaller_install.php | 2 ++ 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/onebuttoninstaller/onebuttoninstaller-install.php b/onebuttoninstaller/onebuttoninstaller-install.php index 3cbb34f..895b772 100644 --- a/onebuttoninstaller/onebuttoninstaller-install.php +++ b/onebuttoninstaller/onebuttoninstaller-install.php @@ -38,7 +38,7 @@ Version Date Description 0.1-a1 2016.01.16 initial release */ -$v = "0.1-b1"; // extension version +$v = "v0.1-b1"; // extension version $appname = "OneButtonInstaller"; require_once("config.inc"); diff --git a/onebuttoninstaller/release_notes.txt b/onebuttoninstaller/release_notes.txt index e1d21df..b83c867 100644 --- a/onebuttoninstaller/release_notes.txt +++ b/onebuttoninstaller/release_notes.txt @@ -1,5 +1,6 @@ Version Date Description -0.1-a1 2016.01.19 initial release +0.1-b1 2016.01.29 beta release +0.1-a1 2016.01.19 alpha release N: ... new feature C: ... changes diff --git a/onebuttoninstaller_install.php b/onebuttoninstaller_install.php index af7ba25..9117070 100644 --- a/onebuttoninstaller_install.php +++ b/onebuttoninstaller_install.php @@ -7,6 +7,8 @@ $release = explode("-", exec("uname -r")); if ($release[0] >= 9.3) $verify_hostname = "--no-verify-hostname"; else $verify_hostname = ""; +$install_dir = dirname(__FILE__)."/"; // get directory where the installer script resides +if (!is_dir("{$install_dir}onebuttoninstaller/log")) { mkdir("{$install_dir}onebuttoninstaller/log", 0775, true); } $return_val = mwexec("fetch {$verify_hostname} -vo onebuttoninstaller/onebuttoninstaller-install.php 'https://raw.github.com/crestAT/nas4free-onebuttoninstaller/master/onebuttoninstaller/onebuttoninstaller-install.php'", true); if ($return_val == 0) { chmod("onebuttoninstaller/onebuttoninstaller-install.php", 0775);