Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/setup/composerit2.pl
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2020-02-01 09:05:48 +0100
committerAndreas Baumann <mail@andreasbaumann.cc>2020-02-01 09:05:48 +0100
commit6854cb3f4d8219cf1829e32122eb2502a916eae9 (patch)
tree350feb504587d932e02837a1442b059759927646 /setup/composerit2.pl
initial checkin
Diffstat (limited to 'setup/composerit2.pl')
-rwxr-xr-xsetup/composerit2.pl29
1 files changed, 29 insertions, 0 deletions
diff --git a/setup/composerit2.pl b/setup/composerit2.pl
new file mode 100755
index 0000000..04bd81b
--- /dev/null
+++ b/setup/composerit2.pl
@@ -0,0 +1,29 @@
+#!/usr/bin/perl
+use CGI;
+
+$cgi=new CGI;
+print $cgi->header(
+ -expires => 'Sat, 26 Jul 1997 05:00:00 GMT',
+ -Pragma => 'no-cache',
+ -Cache_Control => join(', ', qw(private no-cache no-store must-revalidate max-age=0 pre-check=0 post-check=0)),
+);
+print '<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8">
+<title>Flyspray Install - php composer.phar install</title>
+<link media="screen" href="../themes/CleanFS/theme.css" rel="stylesheet" type="text/css" />
+</head>
+<body style="padding:2em;"><img src="../flyspray.png" style="display:block;margin:auto;">
+';
+
+print '<h3>Trying to install packages</h3>';
+print '<a class="button" style="text-align:center;margin:auto;min-width:300px;" href="index.php">Go to setup page</a>';
+#chdir('..');
+@step2= `export COMPOSER_HOME=. ; php composer.phar --working-dir=.. install 2>&1`;
+print '<pre>&gt; php composer.phar install</pre>';
+print '<pre>';
+foreach (@step2) {
+ print;
+}
+print '</pre>';