All pastes #834696 Raw Edit

KGRUBEditor Install Script(svn)

public shellscript v1 · immutable
#834696 ·published 2007-12-28 11:50 UTC
rendered paste body
#!/bin/bash#This is a script to install kgrubeditor from the svn repository:P#Script by ~NeonSync#Head Developer: Art_Fowlecho "Starting the KGRUBEditor installation script"echo " "echo "deb http://gr.archive.ubuntu.com/ubuntu/ gutsy-backports main restricted universe multiverse" | sudo tee -a /etc/apt/sources.listecho "deb-src http://gr.archive.ubuntu.com/ubuntu/ gutsy-backports main restricted universe multiverse" | sudo tee -a /etc/apt/sources.listecho " "echo "Step 1: Installing the Dependencies"echo "Updating your /etc/apt/sources.list..."sudo apt-get updateecho "Requesting for download and install kdebase-runtime packages..."echo " "sudo apt-get install kdebase-runtimeecho "Requesting for download and install kdebase-dev-kde4 packages..."echo " "sudo apt-get install kdebase-dev-kde4echo "Requesting for download and install cmake package..."echo " "sudo apt-get install cmakeecho "Requesting for download and install subversion package..."echo " "sudo apt-get install subversionecho "Exporting LD_Library_PATH=/usr/lib/kdes/lib"echo " "export LD_LIBRARY_PATH=/usr/lib/kde4/libecho "Exporting KDEDIRS=/usr/lib/kde4"echo " "export KDEDIRS=/usr/lib/kde4echo "Exporting PATH=/usr/lib/kde4/bin/:$PATH"echo " "export PATH=/usr/lib/kde4/bin/:$PATHecho "Exporting export KDEHOME=~/.kde4"echo " "export KDEHOME=~/.kde4echo "Step 3: Downloading the latest KGRUBEditor from the svn Repository"echo " "echo "Creating ./svn Directory in users home page"echo " "mkdir /home/$(whoami)/svnecho "CD to local ./svn Directory"echo " "cd /home/$(whoami)/svnecho "Downloading Kgrubeditor from Svn Directory"echo " "svn co https://kgrubeditor.svn.sourceforge.net/svnroot/kgrubeditor kgrubeditorecho "CD to ./kgrubeditor Directory"echo " "cd ./kgrubeditorecho "Creating ./build Directory"echo " "mkdir ./buildecho "CD to ./build Directory"echo " "cd ./buildecho "Creating ./install Directory"echo " "mkdir ./installecho "Compiling KGRUBEditor..."echo " "cmake .. -DCMAKE_INSTALL_PREFIX=/home/$(whoami)/svn/kgrubeditor/build/installecho "Proceeding with the Installation..."echo " "make installecho "Thank you for using KGRUBEditor Installer and KGRUBEditor itself"echo " "echo "Credits for KGRUBEditor goes to Art_Fowl"echo " "echo "Credits for this Script goes to me (Jim ~ NeonSync)"echo " "echo "Enjoy"