From 225845d28cd29b2a345a6dd37e23f448ec30d468 Mon Sep 17 00:00:00 2001 From: Phil Olynyk Date: Thu, 2 Dec 2021 18:47:27 -0500 Subject: [PATCH] Use untoutseul05 build scripts --- Building/Linux/clean_rm-NN-test1.sh | 9 +++++++++ Building/Linux/clean_rm-NN-test2.sh | 7 +++++++ Building/Linux/ln_usrbin-NN-test.sh | 10 ++++++++++ Building/Linux/mkOSDistDeb-NN.sh | 2 +- Building/Linux/rm_usrbin-NN-test.sh | 9 +++++++++ 5 files changed, 36 insertions(+), 1 deletion(-) create mode 100755 Building/Linux/clean_rm-NN-test1.sh create mode 100755 Building/Linux/clean_rm-NN-test2.sh create mode 100755 Building/Linux/ln_usrbin-NN-test.sh create mode 100755 Building/Linux/rm_usrbin-NN-test.sh diff --git a/Building/Linux/clean_rm-NN-test1.sh b/Building/Linux/clean_rm-NN-test1.sh new file mode 100755 index 00000000..e5887003 --- /dev/null +++ b/Building/Linux/clean_rm-NN-test1.sh @@ -0,0 +1,9 @@ +#! /bin/bash +set -e +# +# delete all the folder not deleted by the purge command + +# at the beginning, there was +# application name +appli_name="OSCAR_beta" + diff --git a/Building/Linux/clean_rm-NN-test2.sh b/Building/Linux/clean_rm-NN-test2.sh new file mode 100755 index 00000000..e13ae757 --- /dev/null +++ b/Building/Linux/clean_rm-NN-test2.sh @@ -0,0 +1,7 @@ + +# +# delete all the folder not deleted by the purge command + +# now, application name +appli_name="OSCAR-test" + diff --git a/Building/Linux/ln_usrbin-NN-test.sh b/Building/Linux/ln_usrbin-NN-test.sh new file mode 100755 index 00000000..c853213c --- /dev/null +++ b/Building/Linux/ln_usrbin-NN-test.sh @@ -0,0 +1,10 @@ +#! /bin/bash +set -e +# +# modify by untoutseul05 to search local name for Desktop Folder +# the package now suits the fhs + +# application name +appli_name="OSCAR-test" + + diff --git a/Building/Linux/mkOSDistDeb-NN.sh b/Building/Linux/mkOSDistDeb-NN.sh index 42b13382..e8e39353 100755 --- a/Building/Linux/mkOSDistDeb-NN.sh +++ b/Building/Linux/mkOSDistDeb-NN.sh @@ -112,7 +112,7 @@ if [[ -n ${PRERELEASE} && -z ${RC} ]] ; then post_rem="clean_rm-result-NN-test.sh" else post_inst="ln_usrbin-result-NN.sh" - pre_rem="rm_usrbin-result.sh" + pre_rem="rm_usrbin-result-NN.sh" post_rem="clean_rm-result-NN.sh" fi diff --git a/Building/Linux/rm_usrbin-NN-test.sh b/Building/Linux/rm_usrbin-NN-test.sh new file mode 100755 index 00000000..1f72bfa8 --- /dev/null +++ b/Building/Linux/rm_usrbin-NN-test.sh @@ -0,0 +1,9 @@ +#! /bin/bash +# +# no error is permitted +set -e + +# application name +appli_name="OSCAR-test" + +