Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Config
Commits
86faa7a6
Unverified
Commit
86faa7a6
authored
May 21, 2019
by
Igor Pečovnik
Committed by
GitHub
May 21, 2019
Browse files
Improvements
parent
eecec670
Changes
1
Hide whitespace changes
Inline
Side-by-side
debian-software
View file @
86faa7a6
...
@@ -819,7 +819,7 @@ for f in ${TEMP_DIR}/torrent-tmp/*.torrent; do
...
@@ -819,7 +819,7 @@ for f in ${TEMP_DIR}/torrent-tmp/*.torrent; do
done
done
# remove old armbian torrents
# remove old armbian torrents
while read i; do
while read i; do
[[ $i == *Armbian_* ]]
&&
transmission-remote -n 'transmission:transmission' -t $(echo "$i" | awk '{print $1}';) --remove-and-delete
[[ $i == *Armbian_*
|| $i == *gcc-linaro-* || $i == *-ng-arm*
]]
&&
transmission-remote -n 'transmission:transmission' -t $(echo "$i" | awk '{print $1}';) --remove-and-delete
done
<
${
TEMP_DIR
}/
torrent-tmp
/
active.torrents
done
<
${
TEMP_DIR
}/
torrent-tmp
/
active.torrents
#
remove
temporally
files
and
direcotories
#
remove
temporally
files
and
direcotories
EOF
EOF
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment