From 1db187966e1297177c5f420891572c0e1b0351fb Mon Sep 17 00:00:00 2001 From: Cyryl Plotnicki-Chudyk Date: Sat, 28 Mar 2015 09:10:58 +0100 Subject: [PATCH] corrected the path confusion going on in the configure fresh system scripts --- common/configure_fresh_system | 3 ++- fedora/{install_fedora => configure_fresh_system} | 4 +++- 2 files changed, 5 insertions(+), 2 deletions(-) rename fedora/{install_fedora => configure_fresh_system} (89%) diff --git a/common/configure_fresh_system b/common/configure_fresh_system index 755c9c03..c58481c9 100755 --- a/common/configure_fresh_system +++ b/common/configure_fresh_system @@ -7,7 +7,8 @@ sudo true chsh -s `which zsh` $USER #submodules -DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" +DIR=`realpath $DIR` +echo "using $DIR as the top level directory" cd $DIR git submodule init git submodule update --recursive diff --git a/fedora/install_fedora b/fedora/configure_fresh_system similarity index 89% rename from fedora/install_fedora rename to fedora/configure_fresh_system index a6642493..7845e67a 100755 --- a/fedora/install_fedora +++ b/fedora/configure_fresh_system @@ -7,5 +7,7 @@ sudo yum install http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree sudo yum install vim tmux atop zsh thunderbird thunderbird-enigmail thunderbird-lightning firefox aria2 gajim lm_sensors vlc freecad python3-pip qt5-qtbase-devel qt5-qtwebkit-devel meld whois curl pv pixz tor torsocks nodejs npm terminator gsmartcontrol python-pip mesa-utils mesa-utils-extra aptitude p7zip-full p7zip-rar mercurial DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" -$DIR/install_common.sh +DIR="$DIR/../" +echo "using $DIR" +DIR="$DIR" $DIR/common/configure_fresh_system