[2024-feb-29] Sad news: Eric Layton aka Nocturnal Slacker aka vtel57 passed away on Feb 26th, shortly after hospitalization. He was one of our Wiki's most prominent admins. He will be missed.
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
howtos:hardware:arm:slackwarearm_local-mirror-repository [2021/03/15 00:16 (UTC)] – [Using logrotate to manage log files] additional steps in creating config file exaga | howtos:hardware:arm:slackwarearm_local-mirror-repository [2021/03/23 09:04 (UTC)] – [local-slackwarearm-repo.sh script code] script code revision exaga | ||
---|---|---|---|
Line 1: | Line 1: | ||
<!-- Add your text below. We strongly advise to start with a Headline (see button bar above). --> | <!-- Add your text below. We strongly advise to start with a Headline (see button bar above). --> | ||
====== Slackware ARM local mirror repository - SAREPO ====== | ====== Slackware ARM local mirror repository - SAREPO ====== | ||
+ | |||
+ | It is acknowledged that there are more complete and distinguished Slackware repository solutions readily available. Such as, alienBOB' | ||
===== Preface ===== | ===== Preface ===== | ||
- | It is acknowledged that there are more complete and distinguished Slackware repository solutions readily available. Such as, alienBOB's [[http:// | + | The script featured here, 'local-slackwarearm-repo.sh' [nickname: ' |
When I was looking into creating a local Slackware ARM mirror, most of the currently available scripts and software to perform this task was just way too advanced and extensive for my needs with regards to Slackware "// | When I was looking into creating a local Slackware ARM mirror, most of the currently available scripts and software to perform this task was just way too advanced and extensive for my needs with regards to Slackware "// | ||
+ | |||
===== Question & Answer ===== | ===== Question & Answer ===== | ||
Line 230: | Line 233: | ||
cd " | cd " | ||
echo " | echo " | ||
- | find . -type f ! -name " | + | find . -type f ! -name " |
- | | + | cmp -s " |
- | log " | + | if [[ $CMPSTATUS -eq 0 ]]; then |
+ | log " | ||
else | else | ||
rm -f " | rm -f " | ||
fi | fi | ||
log " | log " | ||
- | log " | + | log " |
echo " | echo " | ||
# Done | # Done |