]> TLD Linux GIT Repositories - tld-ftp-admin.git/commitdiff
- python3 in unlocktree
authorMarcin Krol <hawk@tld-linux.org>
Wed, 10 Jan 2024 20:09:07 +0000 (21:09 +0100)
committerMarcin Krol <hawk@tld-linux.org>
Wed, 10 Jan 2024 20:09:07 +0000 (21:09 +0100)
shell/bashrc

index 1edd4c9abeb5d7774cdf5ae418973b7e6d3ba9a4..ec55c4b41a0f1fcbff59da31c5af33963349558f 100644 (file)
@@ -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')