You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 12, 2022. It is now read-only.
ADIRS=""
for dir in $(ls -d "$TMPDIR/"*); do
dir=$(basename "$dir")
rm -rf "$1/$dir"
mv -f "$TMPDIR/$dir" "$1/"
if [[ $ADIRS == "" ]]; then
ADIRS="$dir"
else
ADIRS="$ADIRS|$dir"
fi
done
# del url name ver dirs
sed -i "s#$line#$AURI $ANAME $RVERS $ADIRS#" "$CWD/addons.txt"
It seems like all it does is fills the addons.txt with tons of unnecessary clutter text. Every line turns into URL, name, version + very very long directories string that seems to be not needed actually.
I removed it, so it looks like this:
for dir in $(ls -d "$TMPDIR/"*); do
dir=$(basename "$dir")
rm -rf "$1/$dir"
mv -f "$TMPDIR/$dir" "$1/"
done
# del url name ver dirs
sed -i "s#$line#$AURI $ANAME $RVERS#" "$CWD/addons.txt"
and my addont.txt now has just what is actually needed: URL, name, version.
The text was updated successfully, but these errors were encountered:
I'm not sure what is the purpose of this ADIRS:
It seems like all it does is fills the addons.txt with tons of unnecessary clutter text. Every line turns into URL, name, version + very very long directories string that seems to be not needed actually.
I removed it, so it looks like this:
and my addont.txt now has just what is actually needed: URL, name, version.
The text was updated successfully, but these errors were encountered: