kstrano 1.0.10 → 1.0.11
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/kstrano.rb +1 -1
- metadata +1 -1
data/lib/kstrano.rb
CHANGED
@@ -121,7 +121,7 @@ namespace :kuma do
|
|
121
121
|
if server_project_name.nil? || server_project_name.empty?
|
122
122
|
server_project_name = domain.split('.')[0]
|
123
123
|
end
|
124
|
-
sudo "sh -c 'if [ ! -f /home/projects/#{
|
124
|
+
sudo "sh -c 'if [ ! -f /home/projects/#{server_project_name}/site/apcclear.php ]; then curl https://raw.github.com/Kunstmaan/kStrano/master/config/apcclear.php > /home/projects/#{server_project_name}/site/apcclear.php; fi'"
|
125
125
|
sudo "chmod 777 /home/projects/#{server_project_name}/site/apcclear.php"
|
126
126
|
end
|
127
127
|
|