User:Kevgor/Install Script for Labquest: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
#!/bin/sh |
#!/bin/sh |
||
# 2011/11/02 XO1.0 |
# 2011/11/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 |
echo DSDTarball |
||
cp /media/PATRIOT/DSDTarball/labquest_xo_0.1-dsd.tar /tmp/ |
cp /media/PATRIOT/DSDTarball/labquest_xo_0.1-dsd.tar /tmp/ |
||
Line 40: | Line 9: | ||
./install.sh |
./install.sh |
||
echo DSDdone |
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 |
Revision as of 19:18, 17 June 2012
#!/bin/sh # 2011/11/02 XO1.0 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