# HG changeset patch # User Paul Issott # Date 1527660460 -3600 # Node ID 799a5c056c550fa1bd7bf5e19dea492f82507a8b # Parent 3911a2292888efeb2551dfb8db388344506407db Tiny edits diff -r 3911a2292888 -r 799a5c056c55 modules/pkgdb --- a/modules/pkgdb Wed May 30 01:32:17 2018 +0300 +++ b/modules/pkgdb Wed May 30 07:07:40 2018 +0100 @@ -14,7 +14,7 @@ dblog() { tee -a $LOGS/pkgdb.log; } -# Return size of file in human readible format +# Return size of file in human readable format # Note, "du" in opposite returns size occupied by file on disk (4KB multiple in most cases) filesize() { busybox ls -lh "$1" | awk '{print $5 "B"}'; } @@ -68,11 +68,11 @@ chmod 666 .folderlist .filelist # Command `cook pkgdb` may be executed by cron. Creating a packages database -# takes some time, during which previously pending packages may be continue to -# create. This will result in an error due to the lack of a database. This in +# takes some time, during which previously pending packages may continue to +# be created. This will result in an error due to the lack of a database. This in # turn can lead to errors in the creating of many subsequent packages and will # require manual intervention. -# Solution is an atomic update of packages database: first we create new files +# Solution is an atomic update of the packages database: first we create new files # (in the separate temp dir), and then instantly (well, almost) replace the old # files by new ones. @@ -100,7 +100,7 @@ pkgname=$(. $WOK/$i/taz/$j/receipt; echo $PACKAGE) echo "$pkgname" sed 's|^$| |' "$WOK/$i/taz/$j/description.txt" - # if description.txt don't ends with \n then add one + # if description.txt doesn't end with \n then add one [ -z "$(tail -c1 $WOK/$i/taz/$j/description.txt)" ] || echo echo done >> $dbs/descriptions.txt diff -r 3911a2292888 -r 799a5c056c55 uname --- a/uname Wed May 30 01:32:17 2018 +0300 +++ b/uname Wed May 30 07:07:40 2018 +0100 @@ -1,7 +1,7 @@ #!/bin/sh # uname - special "fake" wrapper for using inside SliTaz cooker chroot. # Although SliTaz cooker *host arch* is 64-bit, SliTaz *target arch* may be -# 32-bit, and some configuration tools use uname could be improperly configured. +# 32-bit and some configuration tools using uname could be improperly configured. # This also applies to the kernel versions of the host and the target systems. . /etc/slitaz/cook.conf