Compare commits
No commits in common. "fffa61ef366d786721dc97280b0c1965f18979e2" and "962efa9962fba9d0d1851cce2f50e571528288fb" have entirely different histories.
fffa61ef36
...
962efa9962
|
@ -1,6 +0,0 @@
|
||||||
## TODO
|
|
||||||
|
|
||||||
Need to take into account whether git cloning is via ssh (when need to be able
|
|
||||||
to make git commits to remote) or via http (when read only access is required).
|
|
||||||
|
|
||||||
Could just have a git base url that is set in config.sh - will this be sufficient?
|
|
|
@ -20,9 +20,5 @@ fi
|
||||||
|
|
||||||
$_cmd_su "git config --global user.email '$_git_user_email'"
|
$_cmd_su "git config --global user.email '$_git_user_email'"
|
||||||
$_cmd_su "git config --global user.name '$_git_user_name'"
|
$_cmd_su "git config --global user.name '$_git_user_name'"
|
||||||
# TODO populate global .gitignore
|
|
||||||
# *.swp
|
|
||||||
# node_modules/
|
|
||||||
' Session.vim'
|
|
||||||
|
|
||||||
# TODO ensure group sudo is allowed sudo
|
# TODO ensure group sudo is allowed sudo
|
||||||
|
|
|
@ -1,21 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
|
|
||||||
_cmd_su="su --login $_user -c"
|
|
||||||
_config_dir="/home/$_user/.config/lf"
|
|
||||||
|
|
||||||
set -e
|
|
||||||
|
|
||||||
_download_url="https://github.com/gokcehan/lf/releases/download/$_lf_version/lf-linux-amd64.tar.gz"
|
|
||||||
|
|
||||||
if [ -z $_config_loaded ] ; then
|
|
||||||
echo "No config loaded - loading '../config.sh'"
|
|
||||||
. ../config.sh
|
|
||||||
fi
|
|
||||||
|
|
||||||
# wget "$_download_url" -O /tmp/lf.tar.gz
|
|
||||||
# tar -xzvf /tmp/lf.tar.gz -C /usr/local/bin/
|
|
||||||
|
|
||||||
if [ -d "$_config_dir" ] ; then
|
|
||||||
rm -Rf "$_config_dir"
|
|
||||||
fi
|
|
||||||
$_cmd_su "git clone 'https://git.rayelliott.dev/dots/lf.git' '$_config_dir'"
|
|
Reference in New Issue