- Add file_disenable() function,
- Rebuild for updates.
This commit is contained in:
parent
5095c8d9ac
commit
32222fd186
26
Dockerfile
26
Dockerfile
@ -19,7 +19,7 @@ ARG RX3_SH='export PAGER=less
|
|||||||
export MANPAGER="less -isr" \n\
|
export MANPAGER="less -isr" \n\
|
||||||
export EDITOR=emacs \n\
|
export EDITOR=emacs \n\
|
||||||
\n\
|
\n\
|
||||||
function cateval \n\
|
cateval() \n\
|
||||||
{ \n\
|
{ \n\
|
||||||
while read line \n\
|
while read line \n\
|
||||||
do \n\
|
do \n\
|
||||||
@ -28,6 +28,30 @@ function cateval
|
|||||||
done <$1 \n\
|
done <$1 \n\
|
||||||
} \n\
|
} \n\
|
||||||
\n\
|
\n\
|
||||||
|
export -f cateval \n\
|
||||||
|
\n\
|
||||||
|
file_disenable() \n\
|
||||||
|
{ \n\
|
||||||
|
fd_file="$1" \n\
|
||||||
|
fd_state="$2" \n\
|
||||||
|
\n\
|
||||||
|
\n\
|
||||||
|
if [[ "$fd_state" == "TRUE" ]] \n\
|
||||||
|
then \n\
|
||||||
|
if [[ ! -f "${fd_file}" ]] \n\
|
||||||
|
then \n\
|
||||||
|
mv ${fd_file}.disable ${fd_file} \n\
|
||||||
|
fi \n\
|
||||||
|
else \n\
|
||||||
|
if [[ -f "${fd_file}" ]] \n\
|
||||||
|
then \n\
|
||||||
|
mv ${fd_file} ${fd_file}.disable \n\
|
||||||
|
fi \n\
|
||||||
|
fi \n\
|
||||||
|
} \n\
|
||||||
|
\n\
|
||||||
|
export -f file_disenable \n\
|
||||||
|
\n\
|
||||||
alias ll="ls -la" \n\
|
alias ll="ls -la" \n\
|
||||||
alias em="emacs"'
|
alias em="emacs"'
|
||||||
#---------------------------------------------------------------------------------------------------
|
#---------------------------------------------------------------------------------------------------
|
||||||
|
@ -1,3 +1,12 @@
|
|||||||
|
------------------------------------------------------------------------------------------------------------------------------------
|
||||||
|
Rx3-Docker/Base V 1.3.4 - A. GIBERT - 2025/06/26
|
||||||
|
------------------------------------------------------------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
- Add file_disenable() function,
|
||||||
|
- Rebuild for updates.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
------------------------------------------------------------------------------------------------------------------------------------
|
------------------------------------------------------------------------------------------------------------------------------------
|
||||||
Rx3-Docker/Base V 1.3.3 - A. GIBERT - 2025/05/28
|
Rx3-Docker/Base V 1.3.3 - A. GIBERT - 2025/05/28
|
||||||
------------------------------------------------------------------------------------------------------------------------------------
|
------------------------------------------------------------------------------------------------------------------------------------
|
||||||
|
2
env.dist
2
env.dist
@ -18,7 +18,7 @@ ORG_URL_PREFIX="${ORG_REGISTRY}/${ORG_NAME}"
|
|||||||
|
|
||||||
IMG_NAME="base"
|
IMG_NAME="base"
|
||||||
IMG_NAME_FULL="Rx3-Docker/Base Docker Image"
|
IMG_NAME_FULL="Rx3-Docker/Base Docker Image"
|
||||||
IMG_VERSION="1.3.3-mga9"
|
IMG_VERSION="1.3.4-mga9"
|
||||||
IMG_MAINTAINER='"Arnaud G. GIBERT" <arnaud@rx3.net>'
|
IMG_MAINTAINER='"Arnaud G. GIBERT" <arnaud@rx3.net>'
|
||||||
|
|
||||||
IMG_URL_PREFIX="${ORG_URL_PREFIX}"
|
IMG_URL_PREFIX="${ORG_URL_PREFIX}"
|
||||||
|
Loading…
Reference in New Issue
Block a user