Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Register
Sign in
Toggle navigation
Menu
Open sidebar
ISPConfig
ISPConfig 3
Commits
608a8c70
Commit
608a8c70
authored
Mar 12, 2009
by
tbrehm
Browse files
Fixed problems with update script.
parent
02c5c172
Changes
4
Hide whitespace changes
Inline
Side-by-side
install/dist/lib/fedora.lib.php
View file @
608a8c70
...
...
@@ -743,8 +743,8 @@ class installer_dist extends installer_base {
exec
(
'chmod 700 /usr/local/ispconfig/server/scripts/update_from_tgz.sh'
);
exec
(
'chown root /usr/local/ispconfig/server/scripts/ispconfig_update.sh'
);
exec
(
'chmod 700 /usr/local/ispconfig/server/scripts/ispconfig_update.sh'
);
exec
(
'ln -s /usr/local/ispconfig/server/scripts/ispconfig_update.sh /usr/local/bin/ispconfig_update_from_svn.sh'
);
exec
(
'ln -s /usr/local/ispconfig/server/scripts/ispconfig_update.sh /usr/local/bin/ispconfig_update.sh'
);
if
(
!
is_link
(
'/usr/local/bin/ispconfig_update_from_svn.sh'
))
exec
(
'ln -s /usr/local/ispconfig/server/scripts/ispconfig_update.sh /usr/local/bin/ispconfig_update_from_svn.sh'
);
if
(
!
is_link
(
'/usr/local/bin/ispconfig_update.sh'
))
exec
(
'ln -s /usr/local/ispconfig/server/scripts/ispconfig_update.sh /usr/local/bin/ispconfig_update.sh'
);
// set the fast cgi starter script to executable
// exec('chmod 755 '.$install_dir.'/interface/bin/php-fcgi');
...
...
install/dist/lib/opensuse.lib.php
View file @
608a8c70
...
...
@@ -761,8 +761,8 @@ class installer_dist extends installer_base {
exec
(
'chmod 700 /usr/local/ispconfig/server/scripts/update_from_tgz.sh'
);
exec
(
'chown root /usr/local/ispconfig/server/scripts/ispconfig_update.sh'
);
exec
(
'chmod 700 /usr/local/ispconfig/server/scripts/ispconfig_update.sh'
);
exec
(
'ln -s /usr/local/ispconfig/server/scripts/ispconfig_update.sh /usr/local/bin/ispconfig_update_from_svn.sh'
);
exec
(
'ln -s /usr/local/ispconfig/server/scripts/ispconfig_update.sh /usr/local/bin/ispconfig_update.sh'
);
if
(
!
is_link
(
'/usr/local/bin/ispconfig_update_from_svn.sh'
))
exec
(
'ln -s /usr/local/ispconfig/server/scripts/ispconfig_update.sh /usr/local/bin/ispconfig_update_from_svn.sh'
);
if
(
!
is_link
(
'/usr/local/bin/ispconfig_update.sh'
))
exec
(
'ln -s /usr/local/ispconfig/server/scripts/ispconfig_update.sh /usr/local/bin/ispconfig_update.sh'
);
//set the fast cgi starter script to executable
//exec('chmod 755 '.$install_dir.'/interface/bin/php-fcgi');
...
...
install/lib/installer_base.lib.php
View file @
608a8c70
...
...
@@ -1034,8 +1034,8 @@ class installer_base {
exec
(
'chmod 700 /usr/local/ispconfig/server/scripts/update_from_tgz.sh'
);
exec
(
'chown root /usr/local/ispconfig/server/scripts/ispconfig_update.sh'
);
exec
(
'chmod 700 /usr/local/ispconfig/server/scripts/ispconfig_update.sh'
);
exec
(
'ln -s /usr/local/ispconfig/server/scripts/ispconfig_update.sh /usr/local/bin/ispconfig_update_from_svn.sh'
);
exec
(
'ln -s /usr/local/ispconfig/server/scripts/ispconfig_update.sh /usr/local/bin/ispconfig_update.sh'
);
if
(
!
is_link
(
'/usr/local/bin/ispconfig_update_from_svn.sh'
))
exec
(
'ln -s /usr/local/ispconfig/server/scripts/ispconfig_update.sh /usr/local/bin/ispconfig_update_from_svn.sh'
);
if
(
!
is_link
(
'/usr/local/bin/ispconfig_update.sh'
))
exec
(
'ln -s /usr/local/ispconfig/server/scripts/ispconfig_update.sh /usr/local/bin/ispconfig_update.sh'
);
//* Make the logs readable for the ispconfig user
if
(
@
is_file
(
'/var/log/mail.log'
))
exec
(
'chmod +r /var/log/mail.log'
);
...
...
server/scripts/ispconfig_update.php
View file @
608a8c70
...
...
@@ -46,7 +46,7 @@ function simple_query($query, $answers, $default)
$finished
=
false
;
do
{
$answers_str
=
implode
(
','
,
$answers
);
swrite
(
$
this
->
lng
(
$
query
)
.
' ('
.
$answers_str
.
') ['
.
$default
.
']: '
);
swrite
(
$query
.
' ('
.
$answers_str
.
') ['
.
$default
.
']: '
);
$input
=
sread
();
//* Stop the installation
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment