aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Stefan Haischt <dsh@pfsense.org>2006-09-13 23:41:03 +0000
committerDaniel Stefan Haischt <dsh@pfsense.org>2006-09-13 23:41:03 +0000
commit15c2fa8898154565f81933bd053064da87e132f3 (patch)
treec76fe87f6f6f8b124ec7f4b834cbbf4a3e577324
parentaa457dd8ba688665c3d015052664acc030f57da4 (diff)
downloadpfsense-packages-15c2fa8898154565f81933bd053064da87e132f3.tar.gz
pfsense-packages-15c2fa8898154565f81933bd053064da87e132f3.tar.bz2
pfsense-packages-15c2fa8898154565f81933bd053064da87e132f3.zip
this may be a more precise boolean expresion
-rw-r--r--packages/sshterm/sshterm.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/sshterm/sshterm.xml b/packages/sshterm/sshterm.xml
index a21aa340..a77ed1d3 100644
--- a/packages/sshterm/sshterm.xml
+++ b/packages/sshterm/sshterm.xml
@@ -75,7 +75,7 @@
<custom_php_install_command>
$version = readfile("/etc/version");
- if ($version == "HEAD") {
+ if (strpos($version, "HEAD") !== false) {
unlink("/usr/local/www/diag_shell_releng.php");
rename("/usr/local/www/diag_shell_head.php",
"/usr/local/www/diag_shell.php");