[Trisquel-devel] Rev 56: Merged virtualbox from Aklis, Closes #4456 in file:///home/bzr/package-helpers/trunk/
Ruben Rodriguez
ruben at trisquel.info
Sun Jun 10 05:45:13 CEST 2012
At file:///home/bzr/package-helpers/trunk/
------------------------------------------------------------
revno: 56 [merge]
revision-id: ruben en trisquel.info-20120610034424-qkzezxzskuux524l
parent: ruben en trisquel.info-20120610030456-h31c4nyi3gus4j46
parent: santi en trisquel.info-20120308210703-3tz7hetozfuck8lc
committer: Ruben Rodriguez <ruben en trisquel.info>
branch nick: trunk
timestamp: Sun 2012-06-10 05:44:24 +0200
message:
Merged virtualbox from Aklis, Closes #4456
added:
helpers/oneiric/make-virtualbox makevirtualbox-20120308210658-36hxwypcru8kc58b-1
------------ pr�xima parte ------------
=== added file 'helpers/oneiric/make-virtualbox'
--- a/helpers/oneiric/make-virtualbox 1970-01-01 00:00:00 +0000
+++ b/helpers/oneiric/make-virtualbox 2012-06-10 03:44:24 +0000
@@ -0,0 +1,34 @@
+#!/bin/sh
+#
+# Copyright (C) 2012 Santiago Rodr��guez <santi en trisquel.info>
+#
+# 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., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+#
+
+VERSION=1
+. ./config
+
+#% FREEDOM: Remove menu for non-free drivers
+#% CurrentBehaviour: There is a menu option to install non-free drivers (called Guest Additions)
+#% ExpectedBehaviour: There is no "Install Guest Additions" menu option
+#% Closes: http://trisquel.info/es/issues/4456
+
+FILE=src/VBox/Frontends/VirtualBox/src/runtime/UIMachineMenuBar.cpp
+LINENUM=`grep -n 'Simple_InstallGuestTools' $FILE | cut -d\: -f1`
+
+sed -i "$(($LINENUM-1))","$LINENUM"d $FILE
+
+compile
+
More information about the Trisquel-devel
mailing list