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:
parent
1012bfee3a
commit
d401f2d72c
18
MAINT_TOOLS/depends-fix.sh
Executable file
18
MAINT_TOOLS/depends-fix.sh
Executable 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
|
0
community-mod/calcurse/depends → community-mod/rolling/cmus-git/depends
Normal file → Executable file
0
community-mod/calcurse/depends → community-mod/rolling/cmus-git/depends
Normal file → Executable file
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user