From b697f8bc163cc46d8b765865c34c7cb24c6472d7 Mon Sep 17 00:00:00 2001 From: Hugo Maia Vieira Date: Sat, 30 Apr 2011 13:44:23 -0300 Subject: [PATCH] Removido arquivo repositorios.sh; Removido virtualbox; Removido pidgin --- README.md | 5 +---- afterFormat.sh | 19 ++--------------- repositorios.sh | 56 ------------------------------------------------- 3 files changed, 3 insertions(+), 77 deletions(-) delete mode 100755 repositorios.sh diff --git a/README.md b/README.md index 45d2366..67ab187 100644 --- a/README.md +++ b/README.md @@ -68,10 +68,7 @@ SOFTWARES E CONFIGURAÇÕES * Instala a versão *estável* do navegador da Google * **Skype** - Cliente do Skype: cliente de (video)conferencia * Instala o pacote deb oficial direto do site (32 ou 64 bits) -* **VirtualBox** - Sistema de virtualização da Oracle - * Adiciona o repositório do VirtualBox - * Instala o pacote *virtualbox-3.2* -* **Pidgin** - Cliente de mensagens instantâneas + EXECUTANDO O SCRIPT ------------------- diff --git a/afterFormat.sh b/afterFormat.sh index 4a040a7..e776e54 100755 --- a/afterFormat.sh +++ b/afterFormat.sh @@ -83,9 +83,7 @@ opcoes=$( dialog --stdout --separate-output Inkscape "Software para desenho vetorial" ON \ XChat "Cliente IRC" ON \ GoogleChrome "Navegador web Google Chrome" ON \ - Skype "Cliente para rede Skype" ON \ - VirtualBox "Sistema de virtualização da Oracle (não Open Source)" ON \ - Pidgin "Cliente de mensagens instantâneas" ON ) + Skype "Cliente para rede Skype" ON ) #=============================== Processamento ================================= @@ -162,7 +160,7 @@ do if [ "$opcao" = 'Gedit' ] then - sudo ./repositorios.sh "gmate" + sudo add-apt-repository ppa:ubuntu-on-rails/ppa && sudo apt-get update sudo apt-get install -y gedit-plugins sudo apt-get install --force-yes -y gedit-gmate # Preferências do gedit @@ -233,7 +231,6 @@ do if [ "$opcao" = 'GoogleChrome' ] then - if [ "$arquitetura" = '32-bit' ] then wget -O /tmp/google-chrome-stable-i386.deb http://dl.google.com/linux/direct/google-chrome-stable_current_i386.deb @@ -243,12 +240,10 @@ do wget -O /tmp/google-chrome-stable-amd64.deb http://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb sudo dpkg -i /tmp/google-chrome-stable-amd64.deb fi - fi if [ "$opcao" = 'Skype' ] then - # Baixando dependências sudo apt-get install -y libqtgui4 libqt4-dbus libqt4-network libqt4-xml libasound2 @@ -264,15 +259,6 @@ do # Já que algumas dependências não instalam por bem, instalarão a força sudo apt-get -f install - - fi - - if [ "$opcao" = 'VirtualBox' ] - then - - sudo ./repositorios.sh "virtualbox" - sudo apt-get install -y virtualbox-3.2 - fi if [ "$opcao" = 'StarDict' ] @@ -324,7 +310,6 @@ do [ "$opcao" = 'Xournal' ] && sudo apt-get install -y xournal [ "$opcao" = 'Inkscape' ] && sudo apt-get install -y inkscape [ "$opcao" = 'XChat' ] && sudo apt-get install -y xchat - [ "$opcao" = 'Pidgin' ] && sudo apt-get install -y pidgin done diff --git a/repositorios.sh b/repositorios.sh deleted file mode 100755 index a6d92a7..0000000 --- a/repositorios.sh +++ /dev/null @@ -1,56 +0,0 @@ -#!/bin/bash -# -# repositorios - Adiciona repositórios necessários para a instalação de alguns -# pacotes. -# -# Ao executar o script os repositórios serão adicionados adicionando linhas -# ao arquivo /etc/apt/sources.list. São adicionandas chaves publicas dos -# repositórios e é feito um update da base de pacotes dos repositórios. -# -# ------------------------------------------------------------------------------ -# -# Histórico: -# -# v1.0 15-04-2009, Hugo Maia: -# - Versão inicial com os repositórios ubuntu-on-rails e medibuntu. -# v1.1 09-05-2010, Hugo Maia Vieira: -# - Adicionado repositórios do jdownloader. -# v1.2 12-10-2010, Hugo Maia Vieira: -# - Removido repositório do Chromium e adicionado teste para adicionar o -# ppa do flash para 64bits. -# -#------------------------------------------------------------------------------- -# -# The MIT License -# -# Copyright (c) 2010 Hugo Henriques Maia Vieira -# -# Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documentation files (the "Software"), to deal -# in the Software without restriction, including without limitation the rights -# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -# copies of the Software, and to permit persons to whom the Software is -# furnished to do so, subject to the following conditions: -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -# THE SOFTWARE. -# -#------------------------------------------------------------------------------- - -if [ "$1" = "gmate" ] -then - sudo add-apt-repository ppa:ubuntu-on-rails/ppa - sudo apt-get update -fi - -if [ "$1" = "virtualbox" ] -then - sudo echo deb http://download.virtualbox.org/virtualbox/debian $(lsb_release -cs) non-free > /etc/apt/sources.list.d/virtualbox.list - sudo apt-key add oracle_vbox.asc - sudo apt-get update -fi