mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-29 08:02:48 +01:00
jcs: Add jcs setup (untested)
Signed-off-by: Jan Lindemann <jan@jannet.de>
This commit is contained in:
parent
0207ac228f
commit
20f83f91ec
1 changed files with 12 additions and 0 deletions
12
scripts/jcs
12
scripts/jcs
|
|
@ -1611,6 +1611,17 @@ jcs_touch() {
|
||||||
chown $cfg_jcs_owner $1
|
chown $cfg_jcs_owner $1
|
||||||
chgrp $cfg_jcs_group $1
|
chgrp $cfg_jcs_group $1
|
||||||
}
|
}
|
||||||
|
|
||||||
|
jcs_setup() {
|
||||||
|
if [ -d "$cfg_jcs_dir" ]; then
|
||||||
|
cd $cfg_jcs_dir
|
||||||
|
if [ -d CVS ]; then
|
||||||
|
cvs update -dP
|
||||||
|
fi
|
||||||
|
make setup
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
# ===================== This is jcs
|
# ===================== This is jcs
|
||||||
|
|
||||||
SCRIPTNAME=$0
|
SCRIPTNAME=$0
|
||||||
|
|
@ -1673,6 +1684,7 @@ exit 0
|
||||||
mkdirs
|
mkdirs
|
||||||
useradd
|
useradd
|
||||||
touch
|
touch
|
||||||
|
setup
|
||||||
--<<<-- commands --
|
--<<<-- commands --
|
||||||
|
|
||||||
-->>>-- global usage --
|
-->>>-- global usage --
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue