|
@@ -242,7 +242,7 @@ su $username -c "cd; if [ ! -f ~/.ssh/id_ed25519 ]; then ssh-keygen -q -t ed2551
|
|
# install gvm loading from ~/.bashrc & ~/.bash_profile, and the latest go version
|
|
# install gvm loading from ~/.bashrc & ~/.bash_profile, and the latest go version
|
|
su $username -c "if [ ! -d ~/.gvm ]; then GVM_NO_UPDATE_PROFILE=1 bash < <(curl -Ls https://raw.githubusercontent.com/moovweb/gvm/master/binscripts/gvm-installer 2> /dev/null); fi"
|
|
su $username -c "if [ ! -d ~/.gvm ]; then GVM_NO_UPDATE_PROFILE=1 bash < <(curl -Ls https://raw.githubusercontent.com/moovweb/gvm/master/binscripts/gvm-installer 2> /dev/null); fi"
|
|
su $username -c 'grep "gvm" ~/.bash_profile &> /dev/null || echo -e "\n# load gvm\n[ -s $HOME/.gvm/scripts/gvm ] && . $HOME/.gvm/scripts/gvm" >> ~/.bash_profile'
|
|
su $username -c 'grep "gvm" ~/.bash_profile &> /dev/null || echo -e "\n# load gvm\n[ -s $HOME/.gvm/scripts/gvm ] && . $HOME/.gvm/scripts/gvm" >> ~/.bash_profile'
|
|
-su $username -c ". ~/.gvm/scripts/gvm && gvm install go1.17.6 -B && gvm use go1.17.6 --default"
|
|
|
|
|
|
+su $username -c ". ~/.gvm/scripts/gvm && gvm install go1.19.1 -B && gvm use go1.19.1 --default"
|
|
|
|
|
|
# configure user-space transmission
|
|
# configure user-space transmission
|
|
if [ ! -f "/etc/systemd/system/transmission.service.d/local.conf" ]; then
|
|
if [ ! -f "/etc/systemd/system/transmission.service.d/local.conf" ]; then
|