Difference between revisions of "Restricted installer"
Jump to navigation
Jump to search
(New page: ==unified restricted installer script== if zenity --title "Restricted software installation" --text "The software you are about to install might or might not be restricted by the ridiculo...) |
|||
Line 7: | Line 7: | ||
then | then | ||
xterm -e wget http://freegeek.errtech.com/restricted-hardy.list | xterm -e wget http://freegeek.errtech.com/restricted-hardy.list | ||
+ | gksu "xterm -e mv restricted-hardy.list /etc/apt/sources.list.d/restricted.list" | ||
gksu "xterm -e apt-get update" | gksu "xterm -e apt-get update" | ||
− | |||
gksu "xterm -e apt-get -y install vlc ubuntu-restricted-extras libdvdread3" | gksu "xterm -e apt-get -y install vlc ubuntu-restricted-extras libdvdread3" | ||
gksu "xterm -e /usr/share/doc/libdvdread3/install-css.sh" | gksu "xterm -e /usr/share/doc/libdvdread3/install-css.sh" |
Revision as of 15:11, 4 June 2010
unified restricted installer script
if zenity --title "Restricted software installation" --text "The software you are about to install might or might not be restricted by the ridiculous copyright laws of the United States. By clicking yes, you may be violating the DMCA, then again, you might not be, we really dont know. For more information visit http://patentabsurdity.com/" --question; then CN=`lsb_release -cs` if [[ "${CN}" == "hardy" || "${CN}" == "intrepid" ]] then xterm -e wget http://freegeek.errtech.com/restricted-hardy.list gksu "xterm -e mv restricted-hardy.list /etc/apt/sources.list.d/restricted.list" gksu "xterm -e apt-get update" gksu "xterm -e apt-get -y install vlc ubuntu-restricted-extras libdvdread3" gksu "xterm -e /usr/share/doc/libdvdread3/install-css.sh" else gksu "xterm -e apt-get update" gksu "xterm -e apt-get -y install vlc ubuntu-restricted-extras libdvdread4" gksu "xterm -e /usr/share/doc/libdvdread4/install-css.sh" fi fi