From 0aa272bb90fbc2535eb7cc393a17ebd901bda223 Mon Sep 17 00:00:00 2001 From: Maxim Stewart Date: Sun, 6 Nov 2016 20:12:05 -0600 Subject: [PATCH] Fixed major flushing to disk issue. --- .../opt/FXWinWrap/resources/bin/StartXWW.sh | 4 ++-- .../opt/FXWinWrap/resources/bin/StartXWW.sh | 4 ++-- .../opt/FXWinWrap/resources/bin/StartXWW.sh | 4 ++-- .../opt/FXWinWrap/resources/bin/StartXWW.sh | 4 ++-- src/debs/build.sh | 12 ++++++++++++ 5 files changed, 20 insertions(+), 8 deletions(-) create mode 100644 src/debs/build.sh diff --git a/src/debs/FXWinWrap_0.1-1_x64/opt/FXWinWrap/resources/bin/StartXWW.sh b/src/debs/FXWinWrap_0.1-1_x64/opt/FXWinWrap/resources/bin/StartXWW.sh index efb9832..e276bde 100755 --- a/src/debs/FXWinWrap_0.1-1_x64/opt/FXWinWrap/resources/bin/StartXWW.sh +++ b/src/debs/FXWinWrap_0.1-1_x64/opt/FXWinWrap/resources/bin/StartXWW.sh @@ -1,5 +1,5 @@ #!/bin/bash ### nohup is needed to keep child process alive from java's -xterm -e ~/.animatedBGstarter.sh -xterm -e ~/.animatedBGstarter2.sh +xterm -e nohup ~/.animatedBGstarter.sh >/dev/null 2>&1 +xterm -e nohup ~/.animatedBGstarter2.sh >/dev/null 2>&1 diff --git a/src/debs/FXWinWrap_0.1-1_x86/opt/FXWinWrap/resources/bin/StartXWW.sh b/src/debs/FXWinWrap_0.1-1_x86/opt/FXWinWrap/resources/bin/StartXWW.sh index efb9832..e276bde 100755 --- a/src/debs/FXWinWrap_0.1-1_x86/opt/FXWinWrap/resources/bin/StartXWW.sh +++ b/src/debs/FXWinWrap_0.1-1_x86/opt/FXWinWrap/resources/bin/StartXWW.sh @@ -1,5 +1,5 @@ #!/bin/bash ### nohup is needed to keep child process alive from java's -xterm -e ~/.animatedBGstarter.sh -xterm -e ~/.animatedBGstarter2.sh +xterm -e nohup ~/.animatedBGstarter.sh >/dev/null 2>&1 +xterm -e nohup ~/.animatedBGstarter2.sh >/dev/null 2>&1 diff --git a/src/debs/FXWinWrap_0.1-2_x64/opt/FXWinWrap/resources/bin/StartXWW.sh b/src/debs/FXWinWrap_0.1-2_x64/opt/FXWinWrap/resources/bin/StartXWW.sh index efb9832..e276bde 100755 --- a/src/debs/FXWinWrap_0.1-2_x64/opt/FXWinWrap/resources/bin/StartXWW.sh +++ b/src/debs/FXWinWrap_0.1-2_x64/opt/FXWinWrap/resources/bin/StartXWW.sh @@ -1,5 +1,5 @@ #!/bin/bash ### nohup is needed to keep child process alive from java's -xterm -e ~/.animatedBGstarter.sh -xterm -e ~/.animatedBGstarter2.sh +xterm -e nohup ~/.animatedBGstarter.sh >/dev/null 2>&1 +xterm -e nohup ~/.animatedBGstarter2.sh >/dev/null 2>&1 diff --git a/src/debs/FXWinWrap_0.1-2_x86/opt/FXWinWrap/resources/bin/StartXWW.sh b/src/debs/FXWinWrap_0.1-2_x86/opt/FXWinWrap/resources/bin/StartXWW.sh index efb9832..e276bde 100755 --- a/src/debs/FXWinWrap_0.1-2_x86/opt/FXWinWrap/resources/bin/StartXWW.sh +++ b/src/debs/FXWinWrap_0.1-2_x86/opt/FXWinWrap/resources/bin/StartXWW.sh @@ -1,5 +1,5 @@ #!/bin/bash ### nohup is needed to keep child process alive from java's -xterm -e ~/.animatedBGstarter.sh -xterm -e ~/.animatedBGstarter2.sh +xterm -e nohup ~/.animatedBGstarter.sh >/dev/null 2>&1 +xterm -e nohup ~/.animatedBGstarter2.sh >/dev/null 2>&1 diff --git a/src/debs/build.sh b/src/debs/build.sh new file mode 100644 index 0000000..4a1846e --- /dev/null +++ b/src/debs/build.sh @@ -0,0 +1,12 @@ +#!/bin/bash + +function main() { + for i in `ls`; do + if [[ -d "${i}" ]]; then + dpkg --build "${i}" + else + echo "Not a dir." + fi + done +} +main;