#!/bin/bash #panel for BigLinux # #Authors: # Bruno Goncalves Araujo # #License: GPLv2 or later ################################################# . /usr/share/bigcontrolcenter/default/theme-categories.sh.htm #Translation export TEXTDOMAINDIR="/usr/share/locale-langpack" export TEXTDOMAIN=bigcontrolcenter-system-repositories echo ' ' title=$"Atualizacoes e repositorios" apply=$"Aplicar" back=$"Voltar" tip_properties=$"Essas configuracoes irao afetar o arquivo /etc/apt/sources.list" #title echo "$title" #header open_header echo "$title" '
' $"Defina os programas disponiveis e atualizacoes desejadas." close_header #O uso do echo pode ser separado em diversos pedacoes dentro do mesmo comando #O uso de aspas simples faz o sistema exibir exatamente o que esta escrito #Quando se utiliza aspas duplas o sistema executa algumas partes do codigo antes de passar a resposta, entre essas execucoes inclui a interpretacao de variaveis #Para incluir textos a serem exibidos ao usuario utilize aspas duplas com $ antes, para que funcione o sistema de tradução, exemplo: $"texto" #No exemplo abaixo o memso comando echo foi aberto e fechado diversas vezes de acordo com a necessidade, aspas simples, duplas e duplas com traducao. echo '
' echo "" $"Clique aqui para configurar os repositorios principais, de onde são baixados os principais programas e atualizacoes do sistema." "

" echo $"Selecione na lista a seguir quais repositorios complementares devem ser utilizados:" echo "

" ######### # Frasten ######### if [ -e "/etc/apt/sources.list.d/frasten-ppa.list" ] then frasten_check="checked" fi tip_frasten=$"http://ppa.launchpad.net/frasten/ppa" echo "
' ############## # DebfxFirefox ############## #if [ -e "/etc/apt/sources.list.d/debfx-firefox-kde.list" ] #then # debfxfirefox_check="checked" #fi #tip_debfxfirefox=$"http://ppa.launchpad.net/debfx/firefox-kde" #echo "
' ############## # Amsn ############## if [ -e "/etc/apt/sources.list.d/amsn-daily-ppa.list" ] then amsn_check="checked" fi tip_amsn=$"http://launchpad.net/~amsn-daily" echo "
' ############## # MPlayer ############## #if [ -e "/etc/apt/sources.list.d/rvm-mplayer.list" ] #then # mplayer_check="checked" #fi #tip_mplayer=$"http://ppa.launchpad.net/rvm/mplayer" #echo "
' ############## # SMPlayer ############## #if [ -e "/etc/apt/sources.list.d/rvm-smplayer.list" ] #then # smplayer_check="checked" #fi #tip_smplayer=$"http://ppa.launchpad.net/rvm/smplayer" #echo "
' ############## # Audio Dev ############## if [ -e "/etc/apt/sources.list.d/ubuntu-audio-dev-ppa.list" ] then audio_check="checked" fi tip_audio=$"http://ppa.launchpad.net/ubuntu-audio-dev/ppa" echo "
' ############## # Wine ############## if [ -e "/etc/apt/sources.list.d/ubuntu-wine-ppa.list" ] then wine_check="checked" fi tip_wine=$"http://ppa.launchpad.net/ubuntu-wine/ppa" echo "
' ############## # Xorg ############## if [ -e "/etc/apt/sources.list.d/ubuntu-x-swat-x-updates.list" ] then xorg_check="checked" fi tip_xorg=$"http://ppa.launchpad.net/ubuntu-x-swat/x-updates" echo "
' ############## # Xorg Driver ############## #if [ -e "/etc/apt/sources.list.d/xorg-edgers-drivers-only.list" ] #then # xorgdriver_check="checked" #fi #tip_xorgdriver=$"http://ppa.launchpad.net/xorg-edgers/drivers-only" #echo "
' ############## # Telepathy ############## if [ -e "/etc/apt/sources.list.d/telepathy-ppa.list" ] then telepathy_check="checked" fi tip_telepathy=$"http://ppa.launchpad.net/telepathy" echo "
' ############## # Kubuntu_ppa ############## if [ -e "/etc/apt/sources.list.d/kubuntu-ppa.list" ] then kubuntu_ppa_check="checked" fi tip_kubuntu_ppa=$"http://launchpad.net/~kubuntu-ppa" echo "
' ############## # nvidia ############## #if [ -e "/etc/apt/sources.list.d/nvidia-vdpau-ppa.list" ] #then # nvidia_check="checked" #fi #tip_nvidia=$"http://launchpad.net/~nvidia-vdpau" #echo "
' ############## # Sam Rog ############## if [ -e "/etc/apt/sources.list.d/samrog131-ppa.list" ] then samrog_check="checked" fi tip_samrog=$"http://ppa.launchpad.net/samrog131/ppa" echo "
' ############## # www.getdeb.net ############## if [ -e "/etc/apt/sources.list.d/getdeb.list" ] then getdeb_check="checked" fi tip_getdeb=$"http://archive.getdeb.net/ubuntu apps" echo "
' ################# # www.ubuntugames.org ################# if [ -e "/etc/apt/sources.list.d/ubuntugames.list" ] then ubuntugames_check="checked" fi tip_ubuntugames=$"http://www.ubuntugames.org" echo "
' ############## # www.playdeb.net ############## if [ -e "/etc/apt/sources.list.d/playdeb.list" ] then playdeb_check="checked" fi tip_playdeb=$"http://archive.getdeb.net/ubuntu games" echo "
' ############## # Gimp ############## if [ -e "/etc/apt/sources.list.d/matthaeus123-mrw-gimp-svn.list" ] then gimp_check="checked" fi tip_gimp=$"http://ppa.launchpad.net/matthaeus123/mrw-gimp-svn/ubuntu" echo "
' ############## # Chromium ############## if [ -e "/etc/apt/sources.list.d/chromium-daily-ppa.list" ] then chromium_check="checked" fi tip_chromium=$"http://launchpad.net/~chromium-daily" echo "
' ############## # Mozilla ############## if [ -e "/etc/apt/sources.list.d/mozilla-daily-ppa.list" ] then mozilla_check="checked" fi tip_mozilla=$"http://launchpad.net/~ubuntu-mozilla-daily" echo "
' ############## # Partner ############## if [ -e "/etc/apt/sources.list.d/partner.list" ] then partner_check="checked" fi tip_partner=$"http://archive.canonical.com/ubuntu" echo "
' ############## # Google ############## if [ -e "/etc/apt/sources.list.d/google.list" ] then google_check="checked" fi tip_google=$"http://dl.google.com/linux/deb/" echo "
' ############## # Medibuntu ############## if [ -e "/etc/apt/sources.list.d/medibuntu.list" ] then medibuntu_check="checked" fi tip_medibuntu=$"http://packages.medibuntu.org/" echo "
' ############## # Opera ############## #if [ -e "/etc/apt/sources.list.d/opera.list" ] #then # opera_check="checked" #fi #tip_opera=$"http://deb.opera.com/opera/" #echo "
' ############## # BigLinux ############## if [ -e "/etc/apt/sources.list.d/biglinux.list" ] then biglinux_check="checked" fi tip_biglinux=$"http://biglinux.c3sl.ufpr.br/packages" echo "
' ################# # BigLinux-pop-sc ################# if [ -e "/etc/apt/sources.list.d/biglinux-pop-sc.list" ] then biglinux_pop_sc_check="checked" fi tip_biglinux_pop_sc=$"http://mirror.pop-sc.rnp.br/mirror/biglinux/packages" echo "
' echo "

"