rename install directories
This commit is contained in:
parent
1e5928f613
commit
2e8fb2edb9
|
@ -1,10 +1,10 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
# default scripts to use
|
# default scripts to use
|
||||||
_script_dir='./debian10/scripts'
|
_script_dir='./scripts/debian10'
|
||||||
|
|
||||||
if [ -n "$1" ] ; then
|
if [ -n "$1" ] ; then
|
||||||
_script_dir="./$1/scripts/"
|
_script_dir="./scripts/$1"
|
||||||
if ! [ -d "$_script_dir" ] ; then
|
if ! [ -d "$_script_dir" ] ; then
|
||||||
echo "Error: script directory not found '$_script_dir'"
|
echo "Error: script directory not found '$_script_dir'"
|
||||||
exit 1
|
exit 1
|
||||||
|
|
Loading…
Reference in New Issue