Changeset 480 for scripts/usr/local


Ignore:
Timestamp:
Nov 13, 2023, 4:52:22 PM (14 months ago)
Author:
alloc
Message:

Scripts

Location:
scripts/usr/local/lib/7dtd/commands
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • scripts/usr/local/lib/7dtd/commands/instances.sh

    r478 r480  
    8080                cp "$SDTD_BASE/templates/admins.xml" "$IPATH/"
    8181        fi
    82         chown -R $SDTD_USER.$SDTD_GROUP $IPATH
     82        chown -R $SDTD_USER:$SDTD_GROUP $IPATH
    8383        echo "Done"
    8484}
  • scripts/usr/local/lib/7dtd/commands/start.sh

    r294 r480  
    4444                        mkdir "$(getInstancePath $1)/logs"
    4545                fi
    46                 chown $SDTD_USER.$SDTD_GROUP "$(getInstancePath $1)/logs"
     46                chown $SDTD_USER:$SDTD_GROUP "$(getInstancePath $1)/logs"
    4747                rm -f $(getInstancePath $1)/logs/output_log.txt
    4848               
  • scripts/usr/local/lib/7dtd/commands/updateengine.sh

    r479 r480  
    181181                fi
    182182
    183                 chown $SDTD_USER.$SDTD_GROUP -R $SDTD_BASE/engine
     183                chown $SDTD_USER:$SDTD_GROUP -R $SDTD_BASE/engine
    184184        else
    185185                echo "Engine is already at the newest build on the selected branch \"$BRANCHNAME\" (local: $LOCAL, remote: $REMOTE)."
  • scripts/usr/local/lib/7dtd/commands/updatefixes.sh

    r258 r480  
    6969                        if [ -d /usr/local/lib/7dtd/server-fixes ]; then
    7070                                cp /usr/local/lib/7dtd/server-fixes/* $SDTD_BASE/engine/ -R
    71                                 chown $SDTD_USER.$SDTD_GROUP -R $SDTD_BASE/engine/
     71                                chown $SDTD_USER:$SDTD_GROUP -R $SDTD_BASE/engine/
    7272                        fi
    7373                fi
  • scripts/usr/local/lib/7dtd/commands/updatescripts.sh

    r308 r480  
    7070                rm -R $TMPPATH
    7171
    72 #               chown root.root /etc/init.d/7dtd.sh
    73                 chown root.root /etc/bash_completion.d/7dtd
    74                 chown root.root /usr/local/bin/7dtd.sh
    75                 chown root.root /usr/local/lib/7dtd -R
     72#               chown root:root /etc/init.d/7dtd.sh
     73                chown root:root /etc/bash_completion.d/7dtd
     74                chown root:root /usr/local/bin/7dtd.sh
     75                chown root:root /usr/local/lib/7dtd -R
    7676#               chmod 0755 /etc/init.d/7dtd.sh
    7777                chmod 0755 /etc/bash_completion.d/7dtd
     
    8282                        if [ -d /usr/local/lib/7dtd/server-fixes ]; then
    8383                                cp /usr/local/lib/7dtd/server-fixes/* $SDTD_BASE/engine/ -R
    84                                 chown $SDTD_USER.$SDTD_GROUP -R $SDTD_BASE/engine/
     84                                chown $SDTD_USER:$SDTD_GROUP -R $SDTD_BASE/engine/
    8585                        fi
    8686                fi
Note: See TracChangeset for help on using the changeset viewer.