From 8c68673d8567f0534cadbbc9f92ba26396363131 Mon Sep 17 00:00:00 2001 From: wiki Date: Thu, 26 Feb 2015 05:11:53 +0000 Subject: These changes were sitting here --- .gitignore | 1 + FunnyQuestion.conf.php.sh | 6 ++++-- skins/ArchLinux.php | 14 +++++++------- 3 files changed, 12 insertions(+), 9 deletions(-) diff --git a/.gitignore b/.gitignore index 44541365..595bc4a2 100644 --- a/.gitignore +++ b/.gitignore @@ -32,3 +32,4 @@ images/cache cache/html/* .error.log FunnyQuestion.conf.php +/tmp diff --git a/FunnyQuestion.conf.php.sh b/FunnyQuestion.conf.php.sh index d280e3de..1ca39d1a 100755 --- a/FunnyQuestion.conf.php.sh +++ b/FunnyQuestion.conf.php.sh @@ -1,5 +1,7 @@ #!/usr/bin/env bash +IP=$(realpath "$(dirname "$0")") + cmd="date -u +%V\`uname\`|sha256sum|sed 's/\W//g'" answer="$(eval "$cmd")" @@ -18,6 +20,6 @@ prompts[en]='What is the output of the command %s?' echo echo ');' -} > /srv/http/wiki/FunnyQuestion.conf.php +} > "$IP/FunnyQuestion.conf.php" -touch /srv/http/wiki/extensions/FunnyQuestion/FunnyQuestion.i18n.php +touch "$IP/extensions/FunnyQuestion/FunnyQuestion.i18n.php" diff --git a/skins/ArchLinux.php b/skins/ArchLinux.php index ae5b2cbe..7582670a 100644 --- a/skins/ArchLinux.php +++ b/skins/ArchLinux.php @@ -74,15 +74,15 @@ class ArchLinuxTemplate extends BaseTemplate { ?>
- +
-- cgit v1.2.2