mcwrapper 1.6.0 → 1.6.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/mcwrapper/version.rb +1 -1
- data/libexec/mcwrapper +5 -5
- metadata +2 -2
data/lib/mcwrapper/version.rb
CHANGED
data/libexec/mcwrapper
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
# https://github.com/spikegrobstein/mcwrapper
|
7
7
|
##
|
8
8
|
|
9
|
-
MCWRAPPER_VERSION="1.6.
|
9
|
+
MCWRAPPER_VERSION="1.6.1"
|
10
10
|
|
11
11
|
#### Exit Codes
|
12
12
|
|
@@ -826,25 +826,25 @@ function do_backup () {
|
|
826
826
|
function tgz_backup {
|
827
827
|
# cd to the backup directory
|
828
828
|
# create new tgz backup
|
829
|
-
pushd "$BACKUP_DIRECTORY_PATH"
|
829
|
+
pushd "$BACKUP_DIRECTORY_PATH" &> /dev/null
|
830
830
|
|
831
831
|
local FILENAME=`basename "$CURRENT_BACKUP_PATH"`
|
832
832
|
ARCHIVE_FILENAME="${FILENAME}.tgz"
|
833
833
|
|
834
834
|
tar cfz "$ARCHIVE_FILENAME" "$FILENAME"
|
835
835
|
|
836
|
-
popd
|
836
|
+
popd &> /dev/null
|
837
837
|
}
|
838
838
|
|
839
839
|
function zip_backup {
|
840
|
-
pushd "$BACKUP_DIRECTORY_PATH"
|
840
|
+
pushd "$BACKUP_DIRECTORY_PATH" &> /dev/null
|
841
841
|
|
842
842
|
local FILENAME=`basename "$CURRENT_BACKUP_PATH"`
|
843
843
|
ARCHIVE_FILENAME="${FILENAME}.zip"
|
844
844
|
|
845
845
|
zip -q -r "$ARCHIVE_FILENAME" "$FILENAME"
|
846
846
|
|
847
|
-
popd
|
847
|
+
popd &> /dev/null
|
848
848
|
}
|
849
849
|
|
850
850
|
function create_symlink () {
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mcwrapper
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.6.
|
4
|
+
version: 1.6.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2013-01-29 00:00:00.000000000 Z
|
13
13
|
dependencies: []
|
14
14
|
description: Control your Minecraft server. start/stop and live backups.
|
15
15
|
email:
|