forked from hummypkg/sweeper
schema update
This commit is contained in:
parent
918678b66f
commit
da02104cf8
@ -1,7 +1,7 @@
|
||||
Package: sweeper
|
||||
Priority: optional
|
||||
Section: misc
|
||||
Version: 2.1.5-2
|
||||
Version: 2.1.5-3
|
||||
Architecture: mipsel
|
||||
Maintainer: af123@hummypkg.org.uk
|
||||
Depends: webif(>=1.3.5-3)
|
||||
|
@ -31,9 +31,22 @@ case $schema in
|
||||
sed -e 's/^folder /& series "" /' -i "$f"
|
||||
done
|
||||
;;
|
||||
1|2)
|
||||
# Upgrade fflag arguments
|
||||
echo "Upgrading sweeper rules for folder flags"
|
||||
(echo /mod/etc/sweeper.conf; find /media -follow -name .sweeper) \
|
||||
| while read f; do
|
||||
[ -f "$f" ] || continue
|
||||
echo "Processing $f..."
|
||||
sed -e '
|
||||
s/fflag autoshrinkr/fflag autoshrinkR/
|
||||
s/fflag autodecryptr/fflag autodecryptR/
|
||||
' -i "$f"
|
||||
done
|
||||
;;
|
||||
esac
|
||||
|
||||
echo 2 > /mod/.swschema
|
||||
echo 3 > /mod/.swschema
|
||||
|
||||
exit 0
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user