Skip to content

Commit 9aec3d3

Browse files
committed
- OpenSUSE: create symlinks for phpMyAdmin and SquirrelMail.
1 parent 59feb7a commit 9aec3d3

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

install/dist/lib/opensuse.lib.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -996,6 +996,10 @@ public function install_ispconfig()
996996
symlink($vhost_conf_dir.'/ispconfig.vhost',$vhost_conf_enabled_dir.'/000-ispconfig.vhost');
997997
}
998998
}
999+
1000+
// create symlinks from /usr/share to phpMyAdmin and SquirrelMail, if they are installed
1001+
if(!@file_exists('/usr/share/phpmyadmin') && @is_dir('/srv/www/htdocs/phpMyAdmin')) symlink('/srv/www/htdocs/phpMyAdmin/','/usr/share/phpmyadmin');
1002+
if(!@file_exists('/usr/share/squirrelmail') && @is_dir('/srv/www/htdocs/squirrelmail')) symlink('/srv/www/htdocs/squirrelmail/','/usr/share/squirrelmail');
9991003
}
10001004

10011005

0 commit comments

Comments
 (0)