Enviado em 01/09/2017 - 12:41h
pessoas ... tenho isso em uma parte do código
depois vou verificar se a criação e confecção dos arquivos deu tudo certo ... Pergunta ... Teria como otimizar ou vou ter mesmo que fazer 'if' por if ???
A principio pensei em algo do tipo colocar em um arquivo externo e fazer loop para os 3 comandos ( echo, tee e IF's )
enfim ... sugestões !!!
echo "deb http://ppa.launchpad.net/fossfreedom/rhythmbox-plugins/ubuntu xenial main" | tee /etc/apt/sources.list.d/rhythymbox.list
echo "deb http://mega.nz/linux/MEGAsync/Debian_8.0/ ./" | tee /etc/apt/sources.list.d/megasync.list
echo "deb http://download.virtualbox.org/virtualbox/debian jessie contrib" | tee /etc/apt/sources.list.d/virtualbox.list
echo "deb http://repository.spotify.com stable non-free" | tee /etc/apt/sources.list.d/spotify.list
echo "deb https://download.sublimetext.com/ apt/stable/" | tee /etc/apt/sources.list.d/sublime_text.list
echo "deb http://ppa.launchpad.net/atareao/telegram/ubuntu xenial main" | tee /etc/apt/sources.list.d/telegram.list
echo "deb http://liveusb.info/multisystem/depot all main" | tee /etc/apt/sources.list.d/multisystem.list
echo "deb https://repo.skype.com/deb stable main" | tee /etc/apt/sources.list.d/skype-stable.list
echo "deb http://ppa.launchpad.net/mozillateam/firefox-next/ubuntu xenial main" | tee /etc/apt/sources.list.d/firefox.list
echo "deb http://ppa.launchpad.net/nilarimogard/webupd8/ubuntu xenial main" | tee /etc/apt/sources.list.d/pulseaudio-equalizer.list
depois vou verificar se a criação e confecção dos arquivos deu tudo certo ... Pergunta ... Teria como otimizar ou vou ter mesmo que fazer 'if' por if ???
A principio pensei em algo do tipo colocar em um arquivo externo e fazer loop para os 3 comandos ( echo, tee e IF's )
enfim ... sugestões !!!