add .tar for folder uploads
This commit is contained in:
@@ -85,6 +85,7 @@ _write() {
|
|||||||
_write_stdin "$NAME"
|
_write_stdin "$NAME"
|
||||||
} || {
|
} || {
|
||||||
[[ -d "$FILE" ]] && {
|
[[ -d "$FILE" ]] && {
|
||||||
|
[[ "${NAME,,}" = *".tar" ]] || NAME="${NAME}".tar
|
||||||
_write_folder "$NAME" "$FILE"
|
_write_folder "$NAME" "$FILE"
|
||||||
} || {
|
} || {
|
||||||
_write_file "$NAME" "$FILE"
|
_write_file "$NAME" "$FILE"
|
||||||
|
|||||||
3
test/stop-server.sh
Executable file
3
test/stop-server.sh
Executable file
@@ -0,0 +1,3 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
cd ..
|
||||||
|
docker-compose down
|
||||||
Reference in New Issue
Block a user