Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Fetching contributors…

Cannot retrieve contributors at this time

23 lines (15 sloc) 0.648 kB
#!/usr/bin/php
<?
$UbuntuRelease = exec("lsb_release -c -s");
echo $UbuntuRelease;
$fp = fopen('/etc/apt/sources.list.d/firebird.list','w');
fwrite($fp,"deb http://ppa.launchpad.net/mapopa/ubuntu $UbuntuRelease main\n");
fwrite($fp,"deb-src http://ppa.launchpad.net/mapopa/ubuntu $UbuntuRelease main\n");
fclose($fp);
passthru("sudo apt-get update");
passthru("sudo apt-get -y --force-yes install firebird2.5-super");
passthru("sudo sudo dpkg-reconfigure firebird2.5-super");
passthru("sudo apt-get -y --force-yes install php5-interbase");
#restart fast-cgi to pick interbase extension
passthru("sudo /etc/init.d/init-fastcgi restart");
?>
Jump to Line
Something went wrong with that request. Please try again.