Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/setup/composerit.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/composerit.pl
initial checkin
Diffstat (limited to 'setup/composerit.pl')
-rwxr-xr-xsetup/composerit.pl24
1 files changed, 24 insertions, 0 deletions
diff --git a/setup/composerit.pl b/setup/composerit.pl
new file mode 100755
index 0000000..6363430
--- /dev/null
+++ b/setup/composerit.pl
@@ -0,0 +1,24 @@
+#!/usr/bin/perl
+use CGI;
+
+$cgi=new CGI;
+print $cgi->header();
+print '<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8">
+<title>Flyspray Install - curl -sS https://getcomposer.org/installer | php</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 load composer stuff</h3><pre>&gt; curl -sS https://getcomposer.org/installer | php</pre>';
+chdir('../');
+@step1= `curl -sS https://getcomposer.org/installer | php`;
+print '<h3>Step 1 result</h3><br/><pre>';
+foreach (@step1) {
+ print;
+}
+print '</pre>';
+
+print '<a class="button" style="text-align:center;margin:auto;display:block;max-width:300px;font-size:2em;" href="composerit2.pl">Next Step</a>';