- Timestamp:
- Jan 13, 2025, 3:21:51 PM (41 hours ago)
- Location:
- scripts/usr/local/lib/7dtd
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
scripts/usr/local/lib/7dtd/VERSION
r496 r502 1 Version: 11 62 Release: 202 4-07-231 Version: 118 2 Release: 2025-01-13 3 3 -
scripts/usr/local/lib/7dtd/commands/backup.sh
r353 r502 58 58 done 59 59 60 $RSYNC -a --delete --numeric-ids --delete-excluded $SDTD_BASE/instances/./ $NewBackup60 $RSYNC -a --delete --numeric-ids --delete-excluded -F $SDTD_BASE/instances/./ $NewBackup 61 61 touch $NewBackup 62 62 -
scripts/usr/local/lib/7dtd/commands/instances.sh
r483 r502 78 78 cp $SDTD_BASE/engine/serverconfig.xml $IPATH/config.xml 79 79 fi 80 81 $EDITOR $IPATH/config.xml 82 80 81 if [ -z "$EDITOR" ]; then 82 echo "No EDITOR specified in the global configuration file (7dtd.conf)!" 83 echo "Please add/edit the variable 'EDITOR' and set it to the text editor you would" 84 echo "like to use to edit the XML configs, preferably an editor that supports XML" 85 echo "syntax highlighting for easier editing." 86 echo "Run '7dtd.sh instances edit $INSTANCE' afterwards to edit the configuration." 87 echo 88 else 89 $EDITOR $IPATH/config.xml 90 fi 91 83 92 if [ -f "$SDTD_BASE/templates/admins.xml" ]; then 84 93 cp "$SDTD_BASE/templates/admins.xml" "$IPATH/" … … 89 98 90 99 sdtdSubcommandInstancesEdit() { 100 if [ -z "$EDITOR" ]; then 101 echo "No EDITOR specified in the global configuration file (7dtd.conf)!" 102 echo "Please add/edit the variable 'EDITOR' and set it to the text editor you would" 103 echo "like to use to edit the XML configs, preferably an editor that supports XML" 104 echo "syntax highlighting for easier editing." 105 return 106 fi 107 91 108 if [ $(isValidInstance "$1") -eq 0 ]; then 92 109 echo "No instance given or not a valid instance!"
Note:
See TracChangeset
for help on using the changeset viewer.