From d3b3b20302c2093d949d693d4449fc68526db580 Mon Sep 17 00:00:00 2001 From: Marcin Krol Date: Wed, 10 Jan 2024 21:09:07 +0100 Subject: [PATCH] - python3 in unlocktree --- shell/bashrc | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/shell/bashrc b/shell/bashrc index 1edd4c9..ec55c4b 100644 --- a/shell/bashrc +++ b/shell/bashrc @@ -18,16 +18,11 @@ alias df='df -Th' alias vi='vim' alias h='history $(($LINES-6))' -# glen ;) -if [ "$FTPADM" = "glen" ]; then - [ -f /usr/share/okas/bashrc ] && . /usr/share/okas/bashrc -fi - unlocktree() { for tree in "$@"; do ( cd ~/tld-ftp-admin/modules - python -c " + python3 -c " import ftpio ftpio.connect() ftpio.unlock('$tree') -- 2.46.0