initial commit of file from CVS for smeserver-mock on Thu 26 Oct 11:20:16 BST 2023

This commit is contained in:
2023-10-26 11:20:16 +01:00
parent 0fb71cc6e5
commit 00b6cc6808
21 changed files with 1655 additions and 2 deletions

16
root/usr/bin/prepa Executable file
View File

@@ -0,0 +1,16 @@
#!/bin/bash
cvs update -dPA
make clean
make prep
if [ -f 'sources' ] ; then
folder=`sed -rn 's/^[a-z0-9]{32}\s+(.+)\.(tar|t)\.?(gz|xz|bz|bz2)*$/\1/p' sources`
oldy="$folder.old"
if [ -d "$folder" ] ; then
echo "$folder exist"
if [ -d $oldy ] ; then
rm -rf $oldy && echo "removing $oldy"
fi
cp -a $folder $oldy && echo "creating $oldy as fresh copy of $folder"
fi
fi