aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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");