Update the layout of the repository. Begin work on renaming git packages and fixing packages that depend on them. Adhere to your own standards, god damnit!

This commit is contained in:
Mid Favila 2021-07-10 16:05:19 +00:00
parent 1012bfee3a
commit d401f2d72c
1450 changed files with 18 additions and 0 deletions

18
MAINT_TOOLS/depends-fix.sh Executable file
View File

@ -0,0 +1,18 @@
#!/bin/sh -e
enum_rolling()
{
MID_DIR=$(printf $KISS_PATH|sed -ne 's/.*:\(.*kiss-mfavila\):.*/\1/p')
ls "${MID_DIR}/community-mod/rolling/"
}
for file in enum_rolling #For every file under rolling...
do
cp "${MID_DIR}/${file}/depends" "${MID_DIR}/${file}/depends.new"
for file2 in enum_rolling #...do, using every file name under rolling...
do
sed -ne "s/${file2}/${file2}-git/p" "${MID_DIR}/${file2}/depends.new" > "${MID_DIR}/${file2}/depends.new} #...a replacement of the file name with an adjusted one.
done
mv "${MID_DIR}/${file}/depends.new" "${MID_DIR}/${file}/depends"
done

Some files were not shown because too many files have changed in this diff Show More