Skip to content

Commit

Permalink
upgrade cgi script
Browse files Browse the repository at this point in the history
  • Loading branch information
kallaballa committed Dec 23, 2013
1 parent d4615bc commit f643e11
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions src/lounge/www/admin/cgi-bin/upgrade
@@ -0,0 +1,26 @@
#!/bin/bash
#
# ScreenInvader - A shared media experience. Instant and seamless.
# Copyright (C) 2012 Amir Hassan <amir@viel-zu.org>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
#

. /lounge/www/cgi-bin/initcgi "text/plain"

sudo /lounge/bin/gainroot "apt-get update"
sudo /lounge/bin/gainroot "apt-get -q -y --no-install-recommends --force-yes -f -o Dpkg::Options::=\"--force-all\" -o Dpkg::Options::=\"--force-confold\" install screeninvader-binaries screeninvader-config screeninvader-core screeninvader-misc"


0 comments on commit f643e11

Please sign in to comment.