User:Kevgor/Install Script for Labquest: Difference between revisions

From OLPC
Jump to navigation Jump to search
(Created page with ' #!/bin/sh # 2011/10/02 XO1.0 echo Activities unzip -q /media/PATRIOT/Activities.zip -d /home/olpc/Activities echo NewActivities unzip -q /media/PATRIOT/NewActivities.zip -d…')
 
No edit summary
Line 8: Line 8:
cp /media/PATRIOT/WIKIStick.* /home/olpc/Desktop/
cp /media/PATRIOT/WIKIStick.* /home/olpc/Desktop/
sync
sync
echo Updates
yum -yv --disablerepo=* --nogpgcheck localinstall /media/PATRIOT/UpdateRPMs/*.rpm
echo BaseNewRPMs
echo BaseNewRPMs
yum -yv --disablerepo=* remove gnash gnash-plugin
yum -yv --disablerepo=* remove gnash gnash-plugin
yum -yv --disablerepo=* --nogpgcheck localinstall /media/PATRIOT/BaseNewRPMs/*.rpm
yum -yv --disablerepo=* --nogpgcheck localinstall /media/PATRIOT/BaseNewRPMs/*.rpm
echo Updates
yum -yv --disablerepo=* --nogpgcheck localinstall /media/PATRIOT/UpdateRPMs/*.rpm
echo Skype
echo Skype
yum -yv --disablerepo=* --nogpgcheck localinstall /media/PATRIOT/Skype/*.rpm
yum -yv --disablerepo=* --nogpgcheck localinstall /media/PATRIOT/Skype/*.rpm
echo BaseUtilities
echo BaseUtilities
yum -yv --disablerepo=* --nogpgcheck localinstall /media/PATRIOT/BaseUtilities/*.rpm
yum -yv --disablerepo=* --nogpgcheck localinstall /media/PATRIOT/BaseUtilities/*.rpm
echo GUVCrpms
echo GUVCrpms
yum -yv --disablerepo=* --nogpgcheck localinstall /media/PATRIOT/GuvcLibs/*.rpm
yum -yv --disablerepo=* --nogpgcheck localinstall /media/PATRIOT/GuvcLibs/*.rpm
#echo Chrome
#yum -yv --disablerepo=* --nogpgcheck localinstall /media/PATRIOT/Chrome/*.rpm
#echo Programming
#yum -yv --disablerepo=* --nogpgcheck localinstall /media/PATRIOT/Programming/*.rpm
#echo HP
#yum -yv --disablerepo=* --nogpgcheck localinstall /media/PATRIOT/HPlip/*.rpm
echo mPlayer Tarball
echo mPlayer Tarball
cd /usr/bin
cd /usr/bin

Revision as of 15:04, 1 November 2011

#!/bin/sh
# 2011/10/02 XO1.0
echo Activities
unzip -q /media/PATRIOT/Activities.zip -d /home/olpc/Activities
echo NewActivities
unzip -q /media/PATRIOT/NewActivities.zip -d /home/olpc/Activities
# rm -R /home/olpc/Activities/Wikipedia.activity/
cp /media/PATRIOT/WIKIStick.* /home/olpc/Desktop/
sync
echo Updates
yum -yv --disablerepo=* --nogpgcheck localinstall /media/PATRIOT/UpdateRPMs/*.rpm

echo BaseNewRPMs
yum -yv --disablerepo=* remove gnash gnash-plugin
yum -yv --disablerepo=* --nogpgcheck localinstall /media/PATRIOT/BaseNewRPMs/*.rpm

echo Skype
yum -yv --disablerepo=* --nogpgcheck localinstall /media/PATRIOT/Skype/*.rpm
echo BaseUtilities

yum -yv --disablerepo=* --nogpgcheck localinstall /media/PATRIOT/BaseUtilities/*.rpm
echo GUVCrpms

yum -yv --disablerepo=* --nogpgcheck localinstall /media/PATRIOT/GuvcLibs/*.rpm
 
echo mPlayer Tarball
cd /usr/bin
cp /media/PATRIOT/DSDTarball/mplayer.tar /usr/bin/mplayer.tar
tar -xvf mplayer.tar
chmod +x mplayer
rm mplayer.tar
mkdir /home/olpc/.mplayer
mv config /home/olpc/.mplayer
echo mplayerdone
echo DSDTarball
cp /media/PATRIOT/DSDTarball/labquest_xo_0.1-dsd.tar /tmp/
cd /tmp
tar -xvf labquest_xo_0.1-dsd.tar
cd labquest_xo_0.1-dsd
./install.sh
echo DSDdone
echo ActivityFix
chmod 777 /home/olpc/Activities -R
echo Mavrothal Scripts
bash /media/PATRIOT/mavrothal.sh
bash /media/PATRIOT/mav2.sh
echo Cleanup
yum clean all
sync
echo Please Reboot