refactored for github https links
This commit is contained in:
parent
1a004f2216
commit
df04065bff
3 changed files with 6 additions and 6 deletions
6
.gitmodules
vendored
6
.gitmodules
vendored
|
|
@ -1,3 +1,3 @@
|
||||||
[submodule "pyr0-bash-functions"]
|
[submodule "PRbL"]
|
||||||
path = pyr0-bash-functions
|
path = PRbL
|
||||||
url = git@github.com:pyr0ball/PRbL.git
|
url = https://github.com/pyr0ball/PRbL.git
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,7 @@
|
||||||
VERSION=1.1
|
VERSION=1.1
|
||||||
scripttitle="Pyr0ball's Reductive Bash Library Installer - v$VERSION"
|
scripttitle="Pyr0ball's Reductive Bash Library Installer - v$VERSION"
|
||||||
rundir=${0%/*}
|
rundir=${0%/*}
|
||||||
source ${rundir}/pyr0-bash-functions/functions
|
source ${rundir}/functions
|
||||||
scriptname=${0##*/}
|
scriptname=${0##*/}
|
||||||
runuser=$(whoami)
|
runuser=$(whoami)
|
||||||
users=($(ls /home/))
|
users=($(ls /home/))
|
||||||
|
|
@ -113,7 +113,7 @@ userinstall(){
|
||||||
mkdir -p ${userinstalldir}
|
mkdir -p ${userinstalldir}
|
||||||
|
|
||||||
# Copy functions first
|
# Copy functions first
|
||||||
cp ${rundir}/pyr0-bash-functions/functions ${userinstalldir}/functions
|
cp ${rundir}/PRbL/functions ${userinstalldir}/functions
|
||||||
|
|
||||||
# Copy bashrc scripts to home folder
|
# Copy bashrc scripts to home folder
|
||||||
#cp -r ${rundir}/lib/skel/* $HOME/
|
#cp -r ${rundir}/lib/skel/* $HOME/
|
||||||
|
|
@ -170,7 +170,7 @@ globalinstall(){
|
||||||
mkdir -p ${globalinstalldir}
|
mkdir -p ${globalinstalldir}
|
||||||
|
|
||||||
# Copy functions
|
# Copy functions
|
||||||
cp ${rundir}/pyr0-bash-functions/functions ${globalinstalldir}/functions
|
cp ${rundir}/PRbL/functions ${globalinstalldir}/functions
|
||||||
export prbl_functions="${globalinstalldir}/functions"
|
export prbl_functions="${globalinstalldir}/functions"
|
||||||
|
|
||||||
# Check for dependent applications and offer to install
|
# Check for dependent applications and offer to install
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue