+ . ./ZYPKG_INFO.sh
++ ENABLE_MULTITHREADING=0
+ HandleZYPKG_INFO /NSA325-v2/4.80/zypkg
+ echo HandleZYPKG_INFO /NSA325-v2/4.80/zypkg
HandleZYPKG_INFO /NSA325-v2/4.80/zypkg
+ TARGET_FIRMWARE=400
+ TARGET_GROUP=Unknown
++ echo /NSA325-v2/4.80/zypkg
++ cut -d / -f 2
+ TARGET_NAS=NSA325-v2
+ case ${TARGET_NAS} in
+ TARGET_NAS=NSA325
+ TARGET_GROUP=NSA
+ '[' 400 -eq 500 -a -f /firmware/mnt/info/revision ']'
+ SetGlobalPaths
+ '[' 400 -ge 520 ']'
+ '[' 400 -ge 500 ']'
+ ZYPKGS=/i-data/md0/admin/zy-pkgs/ZYPKGS
+ DEPS=/usr/local/zy-pkgs/etc/init.d/ZYPKG_DEPS
+ LANGLIST=/usr/local/zy-pkgs/gui/ZYPKG_LANG_LIST
+ local subdir=
+ for nr in 1 2 3 4 5 6
++ echo /NSA325-v2/4.80/zypkg
++ cut -d / -f 1
+ local dir=
+ '[' -z ']'
+ continue
+ for nr in 1 2 3 4 5 6
++ echo /NSA325-v2/4.80/zypkg
++ cut -d / -f 2
+ local dir=NSA325-v2
+ '[' -z NSA325-v2 ']'
+ subdir=NSA325-v2/
+ for nr in 1 2 3 4 5 6
++ echo /NSA325-v2/4.80/zypkg
++ cut -d / -f 3
+ local dir=4.80
+ '[' -z 4.80 ']'
+ subdir=NSA325-v2/4.80/
+ for nr in 1 2 3 4 5 6
++ echo /NSA325-v2/4.80/zypkg
++ cut -d / -f 4
+ local dir=zypkg
+ '[' -z zypkg ']'
+ subdir=NSA325-v2/4.80/zypkg/
+ for nr in 1 2 3 4 5 6
++ echo /NSA325-v2/4.80/zypkg
++ cut -d / -f 5
+ local dir=
+ '[' -z ']'
+ continue
+ for nr in 1 2 3 4 5 6
++ echo /NSA325-v2/4.80/zypkg
++ cut -d / -f 6
+ local dir=
+ '[' -z ']'
+ continue
+ local tmpdir=/tmp/.MetaRepository/tmp
+ mkdir -p /tmp/.MetaRepository/tmp
+ for file in changed repos '$$.ReadConfig.$$'
+ '[' -f /tmp/.MetaRepository/tmp/changed ']'
+ for file in changed repos '$$.ReadConfig.$$'
+ '[' -f /tmp/.MetaRepository/tmp/repos ']'
+ rm /tmp/.MetaRepository/tmp/repos
+ for file in changed repos '$$.ReadConfig.$$'
+ '[' -f /tmp/.MetaRepository/tmp/26880.ReadConfig.26880 ']'
+ '[' -z ']'
++ FindApp md5sum
++ case $1 in
++ '[' '!' -z '' ']'
++ echo -n 'FindApp md5sum '
FindApp md5sum ++ unset app
++ for path in /bin/ /sbin/ /usr/bin/ /usr/sbin/ /usr/local/bin/ /usr/local/sbin/ /opt/bin/ /opt/sbin/ /ffp/bin/ /ffp/sbin/
++ '[' -x /bin/md5sum ']'
++ for path in /bin/ /sbin/ /usr/bin/ /usr/sbin/ /usr/local/bin/ /usr/local/sbin/ /opt/bin/ /opt/sbin/ /ffp/bin/ /ffp/sbin/
++ '[' -x /sbin/md5sum ']'
++ echo found /sbin/md5sum
found /sbin/md5sum
++ app=/sbin/md5sum
++ break
++ '[' -z /sbin/md5sum ']'
++ case $1 in
++ MD5SUM=/sbin/md5sum
++ echo /sbin/md5sum
+ MD5SUM=/sbin/md5sum
+ ReadConfig Repositories
+ echo ReadConfig Repositories
ReadConfig Repositories
+ local field=Repositories
+ local comments=0
+ '[' Repositories = Comments ']'
+ local myfield=0
+ read line
++ StripLeadingAndTrailingSpaces SCRATCH=/i-data/md0/admin/zy-pkgs/MetaRepository
++ '[' -z SCRATCH=/i-data/md0/admin/zy-pkgs/MetaRepository ']'
++ echo SCRATCH=/i-data/md0/admin/zy-pkgs/MetaRepository
+ line=SCRATCH=/i-data/md0/admin/zy-pkgs/MetaRepository
+ '[' 0 -eq 0 ']'
++ RemoveComments SCRATCH=/i-data/md0/admin/zy-pkgs/MetaRepository
++ echo SCRATCH=/i-data/md0/admin/zy-pkgs/MetaRepository
++ sed 's/#.*$//'
+ line=SCRATCH=/i-data/md0/admin/zy-pkgs/MetaRepository
+ '[' SCRATCH=/i-data/md0/admin/zy-pkgs/MetaRepository = '' ']'
+ case "${line}" in
+ '[' 0 -eq 1 ']'
+ read line
++ StripLeadingAndTrailingSpaces LISTEN_AT=59999
++ '[' -z LISTEN_AT=59999 ']'
++ echo LISTEN_AT=59999
+ line=LISTEN_AT=59999
+ '[' 0 -eq 0 ']'
++ RemoveComments LISTEN_AT=59999
++ echo LISTEN_AT=59999
++ sed 's/#.*$//'
+ line=LISTEN_AT=59999
+ '[' LISTEN_AT=59999 = '' ']'
+ case "${line}" in
+ '[' 0 -eq 1 ']'
+ read line
++ StripLeadingAndTrailingSpaces NOPASV=false
++ '[' -z NOPASV=false ']'
++ echo NOPASV=false
+ line=NOPASV=false
+ '[' 0 -eq 0 ']'
++ RemoveComments NOPASV=false
++ echo NOPASV=false
++ sed 's/#.*$//'
+ line=NOPASV=false
+ '[' NOPASV=false = '' ']'
+ case "${line}" in
+ '[' 0 -eq 1 ']'
+ read line
++ StripLeadingAndTrailingSpaces NOCURL=false
++ '[' -z NOCURL=false ']'
++ echo NOCURL=false
+ line=NOCURL=false
+ '[' 0 -eq 0 ']'
++ RemoveComments NOCURL=false
++ echo NOCURL=false
++ sed 's/#.*$//'
+ line=NOCURL=false
+ '[' NOCURL=false = '' ']'
+ case "${line}" in
+ '[' 0 -eq 1 ']'
+ read line
++ StripLeadingAndTrailingSpaces '# Some trick to keep the rest of the content outside the script:'
++ '[' -z '# Some trick to keep the rest of the content outside the script:' ']'
++ echo '# Some trick to keep the rest of the content outside the script:'
+ line='# Some trick to keep the rest of the content outside the script:'
+ '[' 0 -eq 0 ']'
++ RemoveComments '# Some trick to keep the rest of the content outside the script:'
++ echo '# Some trick to keep the rest of the content outside the script:'
++ sed 's/#.*$//'
+ line=
+ '[' '' = '' ']'
+ continue
+ read line
++ StripLeadingAndTrailingSpaces 'cat >/dev/null <<__EOF__'
++ '[' -z 'cat >/dev/null <<__EOF__' ']'
++ echo 'cat >/dev/null <<__EOF__'
+ line='cat >/dev/null <<__EOF__'
+ '[' 0 -eq 0 ']'
++ RemoveComments 'cat >/dev/null <<__EOF__'
++ echo 'cat >/dev/null <<__EOF__'
++ sed 's/#.*$//'
+ line='cat >/dev/null <<__EOF__'
+ '[' 'cat >/dev/null <<__EOF__' = '' ']'
+ case "${line}" in
+ '[' 0 -eq 1 ']'
+ read line
++ StripLeadingAndTrailingSpaces ''
++ '[' -z '' ']'
++ return
+ line=
+ '[' 0 -eq 0 ']'
++ RemoveComments ''
++ echo ''
++ sed 's/#.*$//'
+ line=
+ '[' '' = '' ']'
+ continue
+ read line
++ StripLeadingAndTrailingSpaces '[Repositories]'
++ '[' -z '[Repositories]' ']'
++ echo '[Repositories]'
+ line='[Repositories]'
+ '[' 0 -eq 0 ']'
++ RemoveComments '[Repositories]'
++ echo '[Repositories]'
++ sed 's/#.*$//'
+ line='[Repositories]'
+ '[' '[Repositories]' = '' ']'
+ case "${line}" in
+ echo -e '\tStart of block'
	Start of block
+ myfield=1
+ continue
+ read line
++ StripLeadingAndTrailingSpaces 'http://zyxel.diskstation.eu/Users/Mijzelf/zypkg-repo/fw4_stock_packages/ Stock'
++ '[' -z 'http://zyxel.diskstation.eu/Users/Mijzelf/zypkg-repo/fw4_stock_packages/ Stock' ']'
++ echo 'http://zyxel.diskstation.eu/Users/Mijzelf/zypkg-repo/fw4_stock_packages/ Stock'
+ line='http://zyxel.diskstation.eu/Users/Mijzelf/zypkg-repo/fw4_stock_packages/ Stock'
+ '[' 0 -eq 0 ']'
++ RemoveComments 'http://zyxel.diskstation.eu/Users/Mijzelf/zypkg-repo/fw4_stock_packages/ Stock'
++ sed 's/#.*$//'
++ echo 'http://zyxel.diskstation.eu/Users/Mijzelf/zypkg-repo/fw4_stock_packages/ Stock'
+ line='http://zyxel.diskstation.eu/Users/Mijzelf/zypkg-repo/fw4_stock_packages/ Stock'
+ '[' 'http://zyxel.diskstation.eu/Users/Mijzelf/zypkg-repo/fw4_stock_packages/ Stock' = '' ']'
+ case "${line}" in
+ '[' 1 -eq 1 ']'
+ echo 'http://zyxel.diskstation.eu/Users/Mijzelf/zypkg-repo/fw4_stock_packages/ Stock'
+ echo -e '\thttp://zyxel.diskstation.eu/Users/Mijzelf/zypkg-repo/fw4_stock_packages/ Stock'
	http://zyxel.diskstation.eu/Users/Mijzelf/zypkg-repo/fw4_stock_packages/ Stock
+ read line
++ StripLeadingAndTrailingSpaces 'http://zyxel.diskstation.eu/Users/Mijzelf/zypkg-repo/fw4 Mijzelf'
++ '[' -z 'http://zyxel.diskstation.eu/Users/Mijzelf/zypkg-repo/fw4 Mijzelf' ']'
++ echo 'http://zyxel.diskstation.eu/Users/Mijzelf/zypkg-repo/fw4 Mijzelf'
+ line='http://zyxel.diskstation.eu/Users/Mijzelf/zypkg-repo/fw4 Mijzelf'
+ '[' 0 -eq 0 ']'
++ RemoveComments 'http://zyxel.diskstation.eu/Users/Mijzelf/zypkg-repo/fw4 Mijzelf'
++ echo 'http://zyxel.diskstation.eu/Users/Mijzelf/zypkg-repo/fw4 Mijzelf'
++ sed 's/#.*$//'
+ line='http://zyxel.diskstation.eu/Users/Mijzelf/zypkg-repo/fw4 Mijzelf'
+ '[' 'http://zyxel.diskstation.eu/Users/Mijzelf/zypkg-repo/fw4 Mijzelf' = '' ']'
+ case "${line}" in
+ '[' 1 -eq 1 ']'
+ echo 'http://zyxel.diskstation.eu/Users/Mijzelf/zypkg-repo/fw4 Mijzelf'
+ echo -e '\thttp://zyxel.diskstation.eu/Users/Mijzelf/zypkg-repo/fw4 Mijzelf'
	http://zyxel.diskstation.eu/Users/Mijzelf/zypkg-repo/fw4 Mijzelf
+ read line
++ StripLeadingAndTrailingSpaces '[Blacklist]'
++ '[' -z '[Blacklist]' ']'
++ echo '[Blacklist]'
+ line='[Blacklist]'
+ '[' 0 -eq 0 ']'
++ RemoveComments '[Blacklist]'
++ echo '[Blacklist]'
++ sed 's/#.*$//'
+ line='[Blacklist]'
+ '[' '[Blacklist]' = '' ']'
+ case "${line}" in
+ '[' 1 -eq 1 ']'
+ echo -e '\tEnd of block'
	End of block
+ return
+ local postfix=9
+ read line
+ '[' -z 0 -o 0 = 0 ']'
+ HandleRepo 9 NSA325-v2/4.80/zypkg/ http://zyxel.diskstation.eu/Users/Mijzelf/zypkg-repo/fw4_stock_packages/ Stock
+ local postfix=9
+ shift
+ local subdir=NSA325-v2/4.80/zypkg/
+ shift
+ local url=http://zyxel.diskstation.eu/Users/Mijzelf/zypkg-repo/fw4_stock_packages/
+ shift
+ local reponame=Stock
+ local plus=
+ echo http://zyxel.diskstation.eu/Users/Mijzelf/zypkg-repo/fw4_stock_packages/
+ grep -e '+$'
+ grep -e '/$'
+ echo http://zyxel.diskstation.eu/Users/Mijzelf/zypkg-repo/fw4_stock_packages/
+ url=http://zyxel.diskstation.eu/Users/Mijzelf/zypkg-repo/fw4_stock_packages/
++ URLtoFilename http://zyxel.diskstation.eu/Users/Mijzelf/zypkg-repo/fw4_stock_packages/
++ echo http://zyxel.diskstation.eu/Users/Mijzelf/zypkg-repo/fw4_stock_packages/
++ sed 's|[/|:]|_|g'
+ local filename=http___zyxel.diskstation.eu_Users_Mijzelf_zypkg-repo_fw4_stock_packages_
+ local tmpdir=/tmp/.MetaRepository/tmp
+ mkdir -p /tmp/.MetaRepository/tmp
+ echo http___zyxel.diskstation.eu_Users_Mijzelf_zypkg-repo_fw4_stock_packages_
+ FetchZYPKG_INFO http://zyxel.diskstation.eu/Users/Mijzelf/zypkg-repo/fw4_stock_packages/ 9 Stock
+ echo FetchZYPKG_INFO http://zyxel.diskstation.eu/Users/Mijzelf/zypkg-repo/fw4_stock_packages/ 9 Stock
FetchZYPKG_INFO http://zyxel.diskstation.eu/Users/Mijzelf/zypkg-repo/fw4_stock_packages/ 9 Stock
+ url=http://zyxel.diskstation.eu/Users/Mijzelf/zypkg-repo/fw4_stock_packages/
+ postfix=9
+ reponame=Stock
++ URLtoFilename http://zyxel.diskstation.eu/Users/Mijzelf/zypkg-repo/fw4_stock_packages/
++ echo http://zyxel.diskstation.eu/Users/Mijzelf/zypkg-repo/fw4_stock_packages/
++ sed 's|[/|:]|_|g'
+ filename=/i-data/md0/admin/zy-pkgs/MetaRepository/http___zyxel.diskstation.eu_Users_Mijzelf_zypkg-repo_fw4_stock_packages_
+ echo http://zyxel.diskstation.eu/Users/Mijzelf/zypkg-repo/fw4_stock_packages/
+ '[' -z /sbin/md5sum ']'
+ local 'filelist=ZYPKG_INFO.tgz ZYPKGS'
+ '[' '' = 1 ']'
++ FetchAll /i-data/md0/admin/zy-pkgs/MetaRepository/http___zyxel.diskstation.eu_Users_Mijzelf_zypkg-repo_fw4_stock_packages_.tmp http://zyxel.diskstation.eu/Users/Mijzelf/zypkg-repo/fw4_stock_packages/ ZYPKG_INFO.tgz ZYPKGS
++ local target=/i-data/md0/admin/zy-pkgs/MetaRepository/http___zyxel.diskstation.eu_Users_Mijzelf_zypkg-repo_fw4_stock_packages_.tmp
++ shift
++ local url=http://zyxel.diskstation.eu/Users/Mijzelf/zypkg-repo/fw4_stock_packages/
++ shift
++ for file in '$@'
++ Fetch http://zyxel.diskstation.eu/Users/Mijzelf/zypkg-repo/fw4_stock_packages/ZYPKG_INFO.tgz /i-data/md0/admin/zy-pkgs/MetaRepository/http___zyxel.diskstation.eu_Users_Mijzelf_zypkg-repo_fw4_stock_packages_.tmp
++ from=http://zyxel.diskstation.eu/Users/Mijzelf/zypkg-repo/fw4_stock_packages/ZYPKG_INFO.tgz
++ to=/i-data/md0/admin/zy-pkgs/MetaRepository/http___zyxel.diskstation.eu_Users_Mijzelf_zypkg-repo_fw4_stock_packages_.tmp
++ '[' false '!=' true ']'
++ '[' -z '' ']'
+++ FindApp curl
+++ case $1 in
+++ '[' '!' -z '' ']'
+++ echo -n 'FindApp curl '
FindApp curl +++ unset app
+++ for path in /bin/ /sbin/ /usr/bin/ /usr/sbin/ /usr/local/bin/ /usr/local/sbin/ /opt/bin/ /opt/sbin/ /ffp/bin/ /ffp/sbin/
+++ '[' -x /bin/curl ']'
+++ for path in /bin/ /sbin/ /usr/bin/ /usr/sbin/ /usr/local/bin/ /usr/local/sbin/ /opt/bin/ /opt/sbin/ /ffp/bin/ /ffp/sbin/
+++ '[' -x /sbin/curl ']'
+++ for path in /bin/ /sbin/ /usr/bin/ /usr/sbin/ /usr/local/bin/ /usr/local/sbin/ /opt/bin/ /opt/sbin/ /ffp/bin/ /ffp/sbin/
+++ '[' -x /usr/bin/curl ']'
+++ echo found /usr/bin/curl
found /usr/bin/curl
+++ app=/usr/bin/curl
+++ break
+++ '[' -z /usr/bin/curl ']'
+++ case $1 in
+++ CURL=/usr/bin/curl
+++ echo /usr/bin/curl
++ CURL=/usr/bin/curl
++ '[' -z /usr/bin/curl ']'
++ '[' false = true ']'
++ echo -n 'Fetch http://zyxel.diskstation.eu/Users/Mijzelf/zypkg-repo/fw4_stock_packages/ZYPKG_INFO.tgz' '/i-data/md0/admin/zy-pkgs/MetaRepository/http___zyxel.diskstation.eu_Users_Mijzelf_zypkg-repo_fw4_stock_packages_.tmp '
Fetch http://zyxel.diskstation.eu/Users/Mijzelf/zypkg-repo/fw4_stock_packages/ZYPKG_INFO.tgz /i-data/md0/admin/zy-pkgs/MetaRepository/http___zyxel.diskstation.eu_Users_Mijzelf_zypkg-repo_fw4_stock_packages_.tmp ++ case ${from} in
++ local res=0
++ '[' false '!=' true ']'
++ local flags=-f
++ '[' /i-data/md0/admin/zy-pkgs/MetaRepository/http___zyxel.diskstation.eu_Users_Mijzelf_zypkg-repo_fw4_stock_packages_.tmp = - ']'
++ /usr/bin/curl -f http://zyxel.diskstation.eu/Users/Mijzelf/zypkg-repo/fw4_stock_packages/ZYPKG_INFO.tgz
++ res=22
++ '[' 22 -eq 0 ']'
++ echo failed
failed
++ return 22
++ '[' 22 -eq 0 ']'
++ for file in '$@'
++ Fetch http://zyxel.diskstation.eu/Users/Mijzelf/zypkg-repo/fw4_stock_packages/ZYPKGS /i-data/md0/admin/zy-pkgs/MetaRepository/http___zyxel.diskstation.eu_Users_Mijzelf_zypkg-repo_fw4_stock_packages_.tmp
++ from=http://zyxel.diskstation.eu/Users/Mijzelf/zypkg-repo/fw4_stock_packages/ZYPKGS
++ to=/i-data/md0/admin/zy-pkgs/MetaRepository/http___zyxel.diskstation.eu_Users_Mijzelf_zypkg-repo_fw4_stock_packages_.tmp
++ '[' false '!=' true ']'
++ '[' -z /usr/bin/curl ']'
++ '[' -z /usr/bin/curl ']'
++ '[' false = true ']'
++ echo -n 'Fetch http://zyxel.diskstation.eu/Users/Mijzelf/zypkg-repo/fw4_stock_packages/ZYPKGS' '/i-data/md0/admin/zy-pkgs/MetaRepository/http___zyxel.diskstation.eu_Users_Mijzelf_zypkg-repo_fw4_stock_packages_.tmp '
Fetch http://zyxel.diskstation.eu/Users/Mijzelf/zypkg-repo/fw4_stock_packages/ZYPKGS /i-data/md0/admin/zy-pkgs/MetaRepository/http___zyxel.diskstation.eu_Users_Mijzelf_zypkg-repo_fw4_stock_packages_.tmp ++ case ${from} in
++ local res=0
++ '[' false '!=' true ']'
++ local flags=-f
++ '[' /i-data/md0/admin/zy-pkgs/MetaRepository/http___zyxel.diskstation.eu_Users_Mijzelf_zypkg-repo_fw4_stock_packages_.tmp = - ']'
++ /usr/bin/curl -f http://zyxel.diskstation.eu/Users/Mijzelf/zypkg-repo/fw4_stock_packages/ZYPKGS
++ res=0
++ '[' 0 -eq 0 ']'
++ echo succeeded
succeeded
++ return 0
++ '[' 0 -eq 0 ']'
++ echo ZYPKGS
++ return
+ local result=ZYPKGS
+ local md5=bogus
+ local prefix=1
+ case $result in
++ dirname /i-data/md0/admin/zy-pkgs/MetaRepository/http___zyxel.diskstation.eu_Users_Mijzelf_zypkg-repo_fw4_stock_packages_/i-data/md0/admin/zy-pkgs/ZYPKGS
+ mkdir -p /i-data/md0/admin/zy-pkgs/MetaRepository/http___zyxel.diskstation.eu_Users_Mijzelf_zypkg-repo_fw4_stock_packages_/i-data/md0/admin/zy-pkgs
+ mv /i-data/md0/admin/zy-pkgs/MetaRepository/http___zyxel.diskstation.eu_Users_Mijzelf_zypkg-repo_fw4_stock_packages_.tmp /i-data/md0/admin/zy-pkgs/MetaRepository/http___zyxel.diskstation.eu_Users_Mijzelf_zypkg-repo_fw4_stock_packages_/i-data/md0/admin/zy-pkgs/ZYPKGS
+ '[' '!' -z ']'
++ cat /i-data/md0/admin/zy-pkgs/MetaRepository/http___zyxel.diskstation.eu_Users_Mijzelf_zypkg-repo_fw4_stock_packages_/i-data/md0/admin/zy-pkgs/ZYPKGS
++ cut -d ' ' -f 1
++ /sbin/md5sum
+ md5=3d662373b9c955e9fd9e9a4488a6e693
+ '[' -f /i-data/md0/admin/zy-pkgs/MetaRepository/http___zyxel.diskstation.eu_Users_Mijzelf_zypkg-repo_fw4_stock_packages_.400.md5 ']'
+ '[' '!' -z -a -f /i-data/md0/admin/zy-pkgs/MetaRepository/http___zyxel.diskstation.eu_Users_Mijzelf_zypkg-repo_fw4_stock_packages_ ']'
./ZYPKG_INFO.sh: line 207: [: too many arguments
+ echo 3d662373b9c955e9fd9e9a4488a6e693
+ '[' -f /i-data/md0/admin/zy-pkgs/MetaRepository/http___zyxel.diskstation.eu_Users_Mijzelf_zypkg-repo_fw4_stock_packages_.list ']'
+ echo 'reada /i-data/md0/admin/zy-pkgs/MetaRepository/http___zyxel.diskstation.eu_Users_Mijzelf_zypkg-repo_fw4_stock_packages_/i-data/md0/admin/zy-pkgs/ZYPKGS'
+ read line
++ StripLeadingAndTrailingSpaces 'Package: BackupPlanner'
++ '[' -z 'Package: BackupPlanner' ']'
++ echo 'Package: BackupPlanner'
+ line='Package: BackupPlanner'
+ '[' 'Package: BackupPlanner' = '' ']'
+ echo Package: $'BackupPlanner\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Version: 001zypkg013'
++ '[' -z 'Version: 001zypkg013' ']'
++ echo 'Version: 001zypkg013'
+ line='Version: 001zypkg013'
+ '[' 'Version: 001zypkg013' = '' ']'
+ echo Version: $'001zypkg013\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Description: Use this to schedule and run backup jobs for files stored in your NSA to an internal drive, external storage device or to another NSA in the network.'
++ '[' -z 'Description: Use this to schedule and run backup jobs for files stored in your NSA to an internal drive, external storage device or to another NSA in the network.' ']'
++ echo 'Description: Use this to schedule and run backup jobs for files stored in your NSA to an internal drive, external storage device or to another NSA in the network.'
+ line='Description: Use this to schedule and run backup jobs for files stored in your NSA to an internal drive, external storage device or to another NSA in the network.'
+ '[' 'Description: Use this to schedule and run backup jobs for files stored in your NSA to an internal drive, external storage device or to another NSA in the network.' = '' ']'
+ echo Description: Use this to schedule and run backup jobs for files stored in your NSA to an internal drive, external storage device or to another NSA in the $'network.\r'
+ read line
++ StripLeadingAndTrailingSpaces $'Depends:\r'
++ '[' -z $'Depends:\r' ']'
++ echo $'Depends:\r'
+ line=$'Depends:\r'
+ '[' $'Depends:\r' = '' ']'
+ echo $'Depends:\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Size: 823867'
++ '[' -z 'Size: 823867' ']'
++ echo 'Size: 823867'
+ line='Size: 823867'
+ '[' 'Size: 823867' = '' ']'
+ echo Size: $'823867\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Installed-Size: 4045587'
++ '[' -z 'Installed-Size: 4045587' ']'
++ echo 'Installed-Size: 4045587'
+ line='Installed-Size: 4045587'
+ '[' 'Installed-Size: 4045587' = '' ']'
+ echo Installed-Size: $'4045587\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Architecture: arm'
++ '[' -z 'Architecture: arm' ']'
++ echo 'Architecture: arm'
+ line='Architecture: arm'
+ '[' 'Architecture: arm' = '' ']'
+ echo Architecture: $'arm\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Zy-Model: NSA-220, NSA-220 PLUS, NSA210, NSA221, NSA320'
++ '[' -z 'Zy-Model: NSA-220, NSA-220 PLUS, NSA210, NSA221, NSA320' ']'
++ echo 'Zy-Model: NSA-220, NSA-220 PLUS, NSA210, NSA221, NSA320'
+ line='Zy-Model: NSA-220, NSA-220 PLUS, NSA210, NSA221, NSA320'
+ '[' 'Zy-Model: NSA-220, NSA-220 PLUS, NSA210, NSA221, NSA320' = '' ']'
+ echo Zy-Model: NSA-220, NSA-220 PLUS, NSA210, NSA221, $'NSA320\r'
+ read line
++ StripLeadingAndTrailingSpaces 'IsBuiltin: Y'
++ '[' -z 'IsBuiltin: Y' ']'
++ echo 'IsBuiltin: Y'
+ line='IsBuiltin: Y'
+ '[' 'IsBuiltin: Y' = '' ']'
+ echo IsBuiltin: $'Y\r'
+ read line
++ StripLeadingAndTrailingSpaces 'TreeLocation: Protect:Backup, Protect:Restore'
++ '[' -z 'TreeLocation: Protect:Backup, Protect:Restore' ']'
++ echo 'TreeLocation: Protect:Backup, Protect:Restore'
+ line='TreeLocation: Protect:Backup, Protect:Restore'
+ '[' 'TreeLocation: Protect:Backup, Protect:Restore' = '' ']'
+ echo TreeLocation: Protect:Backup, $'Protect:Restore\r'
+ read line
++ StripLeadingAndTrailingSpaces 'ZyURL: BackupPlanner/backup_main.html, BackupPlanner/backupRestoreByTarget.html'
++ '[' -z 'ZyURL: BackupPlanner/backup_main.html, BackupPlanner/backupRestoreByTarget.html' ']'
++ echo 'ZyURL: BackupPlanner/backup_main.html, BackupPlanner/backupRestoreByTarget.html'
+ line='ZyURL: BackupPlanner/backup_main.html, BackupPlanner/backupRestoreByTarget.html'
+ '[' 'ZyURL: BackupPlanner/backup_main.html, BackupPlanner/backupRestoreByTarget.html' = '' ']'
+ echo ZyURL: BackupPlanner/backup_main.html, $'BackupPlanner/backupRestoreByTarget.html\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Filename: BackupPlanner_001_arm_013.zpkg'
++ '[' -z 'Filename: BackupPlanner_001_arm_013.zpkg' ']'
++ echo 'Filename: BackupPlanner_001_arm_013.zpkg'
+ line='Filename: BackupPlanner_001_arm_013.zpkg'
+ '[' 'Filename: BackupPlanner_001_arm_013.zpkg' = '' ']'
+ echo Filename: $'BackupPlanner_001_arm_013.zpkg\r'
+ read line
++ StripLeadingAndTrailingSpaces 'MD5SUM: 60bf839719ae441ec9c184968d666a45'
++ '[' -z 'MD5SUM: 60bf839719ae441ec9c184968d666a45' ']'
++ echo 'MD5SUM: 60bf839719ae441ec9c184968d666a45'
+ line='MD5SUM: 60bf839719ae441ec9c184968d666a45'
+ '[' 'MD5SUM: 60bf839719ae441ec9c184968d666a45' = '' ']'
+ echo MD5SUM: $'60bf839719ae441ec9c184968d666a45\r'
+ read line
++ StripLeadingAndTrailingSpaces $'\r'
++ '[' -z $'\r' ']'
++ echo $'\r'
+ line=$'\r'
+ '[' $'\r' = '' ']'
+ echo $'\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Package: DyDNS'
++ '[' -z 'Package: DyDNS' ']'
++ echo 'Package: DyDNS'
+ line='Package: DyDNS'
+ '[' 'Package: DyDNS' = '' ']'
+ echo Package: $'DyDNS\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Version: 001zypkg008'
++ '[' -z 'Version: 001zypkg008' ']'
++ echo 'Version: 001zypkg008'
+ line='Version: 001zypkg008'
+ '[' 'Version: 001zypkg008' = '' ']'
+ echo Version: $'001zypkg008\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Description: This gives your NSA a domain name with a dynamic IP address.'
++ '[' -z 'Description: This gives your NSA a domain name with a dynamic IP address.' ']'
++ echo 'Description: This gives your NSA a domain name with a dynamic IP address.'
+ line='Description: This gives your NSA a domain name with a dynamic IP address.'
+ '[' 'Description: This gives your NSA a domain name with a dynamic IP address.' = '' ']'
+ echo Description: This gives your NSA a domain name with a dynamic IP $'address.\r'
+ read line
++ StripLeadingAndTrailingSpaces $'Depends:\r'
++ '[' -z $'Depends:\r' ']'
++ echo $'Depends:\r'
+ line=$'Depends:\r'
+ '[' $'Depends:\r' = '' ']'
+ echo $'Depends:\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Size: 280088'
++ '[' -z 'Size: 280088' ']'
++ echo 'Size: 280088'
+ line='Size: 280088'
+ '[' 'Size: 280088' = '' ']'
+ echo Size: $'280088\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Installed-Size: 660608'
++ '[' -z 'Installed-Size: 660608' ']'
++ echo 'Installed-Size: 660608'
+ line='Installed-Size: 660608'
+ '[' 'Installed-Size: 660608' = '' ']'
+ echo Installed-Size: $'660608\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Architecture: arm'
++ '[' -z 'Architecture: arm' ']'
++ echo 'Architecture: arm'
+ line='Architecture: arm'
+ '[' 'Architecture: arm' = '' ']'
+ echo Architecture: $'arm\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Zy-Model: NSA-220, NSA-220 PLUS'
++ '[' -z 'Zy-Model: NSA-220, NSA-220 PLUS' ']'
++ echo 'Zy-Model: NSA-220, NSA-220 PLUS'
+ line='Zy-Model: NSA-220, NSA-220 PLUS'
+ '[' 'Zy-Model: NSA-220, NSA-220 PLUS' = '' ']'
+ echo Zy-Model: NSA-220, NSA-220 $'PLUS\r'
+ read line
++ StripLeadingAndTrailingSpaces 'IsBuiltin: Y'
++ '[' -z 'IsBuiltin: Y' ']'
++ echo 'IsBuiltin: Y'
+ line='IsBuiltin: Y'
+ '[' 'IsBuiltin: Y' = '' ']'
+ echo IsBuiltin: $'Y\r'
+ read line
++ StripLeadingAndTrailingSpaces 'TreeLocation: Network:DyDNS'
++ '[' -z 'TreeLocation: Network:DyDNS' ']'
++ echo 'TreeLocation: Network:DyDNS'
+ line='TreeLocation: Network:DyDNS'
+ '[' 'TreeLocation: Network:DyDNS' = '' ']'
+ echo TreeLocation: $'Network:DyDNS\r'
+ read line
++ StripLeadingAndTrailingSpaces 'ZyURL: DyDNS/net_ddns.html'
++ '[' -z 'ZyURL: DyDNS/net_ddns.html' ']'
++ echo 'ZyURL: DyDNS/net_ddns.html'
+ line='ZyURL: DyDNS/net_ddns.html'
+ '[' 'ZyURL: DyDNS/net_ddns.html' = '' ']'
+ echo ZyURL: $'DyDNS/net_ddns.html\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Filename: DyDNS_001_arm_008.zpkg'
++ '[' -z 'Filename: DyDNS_001_arm_008.zpkg' ']'
++ echo 'Filename: DyDNS_001_arm_008.zpkg'
+ line='Filename: DyDNS_001_arm_008.zpkg'
+ '[' 'Filename: DyDNS_001_arm_008.zpkg' = '' ']'
+ echo Filename: $'DyDNS_001_arm_008.zpkg\r'
+ read line
++ StripLeadingAndTrailingSpaces 'MD5SUM: 15978477d96002b7f4885b7c8d78aa09'
++ '[' -z 'MD5SUM: 15978477d96002b7f4885b7c8d78aa09' ']'
++ echo 'MD5SUM: 15978477d96002b7f4885b7c8d78aa09'
+ line='MD5SUM: 15978477d96002b7f4885b7c8d78aa09'
+ '[' 'MD5SUM: 15978477d96002b7f4885b7c8d78aa09' = '' ']'
+ echo MD5SUM: $'15978477d96002b7f4885b7c8d78aa09\r'
+ read line
++ StripLeadingAndTrailingSpaces $'\r'
++ '[' -z $'\r' ']'
++ echo $'\r'
+ line=$'\r'
+ '[' $'\r' = '' ']'
+ echo $'\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Package: eMule'
++ '[' -z 'Package: eMule' ']'
++ echo 'Package: eMule'
+ line='Package: eMule'
+ '[' 'Package: eMule' = '' ']'
+ echo Package: $'eMule\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Version: 001zypkg008'
++ '[' -z 'Version: 001zypkg008' ']'
++ echo 'Version: 001zypkg008'
+ line='Version: 001zypkg008'
+ '[' 'Version: 001zypkg008' = '' ']'
+ echo Version: $'001zypkg008\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Description: eMule is an open-source peer-to-peer (P2P) file-sharing application similar to eDonkey, which can be used to download files from the Internet.'
++ '[' -z 'Description: eMule is an open-source peer-to-peer (P2P) file-sharing application similar to eDonkey, which can be used to download files from the Internet.' ']'
++ echo 'Description: eMule is an open-source peer-to-peer (P2P) file-sharing application similar to eDonkey, which can be used to download files from the Internet.'
+ line='Description: eMule is an open-source peer-to-peer (P2P) file-sharing application similar to eDonkey, which can be used to download files from the Internet.'
+ '[' 'Description: eMule is an open-source peer-to-peer (P2P) file-sharing application similar to eDonkey, which can be used to download files from the Internet.' = '' ']'
+ echo Description: eMule is an open-source peer-to-peer '(P2P)' file-sharing application similar to eDonkey, which can be used to download files from the $'Internet.\r'
+ read line
++ StripLeadingAndTrailingSpaces $'Depends:\r'
++ '[' -z $'Depends:\r' ']'
++ echo $'Depends:\r'
+ line=$'Depends:\r'
+ '[' $'Depends:\r' = '' ']'
+ echo $'Depends:\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Size: 2040219'
++ '[' -z 'Size: 2040219' ']'
++ echo 'Size: 2040219'
+ line='Size: 2040219'
+ '[' 'Size: 2040219' = '' ']'
+ echo Size: $'2040219\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Installed-Size: 6361328'
++ '[' -z 'Installed-Size: 6361328' ']'
++ echo 'Installed-Size: 6361328'
+ line='Installed-Size: 6361328'
+ '[' 'Installed-Size: 6361328' = '' ']'
+ echo Installed-Size: $'6361328\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Architecture: arm'
++ '[' -z 'Architecture: arm' ']'
++ echo 'Architecture: arm'
+ line='Architecture: arm'
+ '[' 'Architecture: arm' = '' ']'
+ echo Architecture: $'arm\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Zy-Model: NSA-220, NSA-220 PLUS'
++ '[' -z 'Zy-Model: NSA-220, NSA-220 PLUS' ']'
++ echo 'Zy-Model: NSA-220, NSA-220 PLUS'
+ line='Zy-Model: NSA-220, NSA-220 PLUS'
+ '[' 'Zy-Model: NSA-220, NSA-220 PLUS' = '' ']'
+ echo Zy-Model: NSA-220, NSA-220 $'PLUS\r'
+ read line
++ StripLeadingAndTrailingSpaces 'IsBuiltin: Y'
++ '[' -z 'IsBuiltin: Y' ']'
++ echo 'IsBuiltin: Y'
+ line='IsBuiltin: Y'
+ '[' 'IsBuiltin: Y' = '' ']'
+ echo IsBuiltin: $'Y\r'
+ read line
++ StripLeadingAndTrailingSpaces 'TreeLocation: Applications:eMule:Server, Applications:eMule:Task, Applications:eMule:Search'
++ '[' -z 'TreeLocation: Applications:eMule:Server, Applications:eMule:Task, Applications:eMule:Search' ']'
++ echo 'TreeLocation: Applications:eMule:Server, Applications:eMule:Task, Applications:eMule:Search'
+ line='TreeLocation: Applications:eMule:Server, Applications:eMule:Task, Applications:eMule:Search'
+ '[' 'TreeLocation: Applications:eMule:Server, Applications:eMule:Task, Applications:eMule:Search' = '' ']'
+ echo TreeLocation: Applications:eMule:Server, Applications:eMule:Task, $'Applications:eMule:Search\r'
+ read line
++ StripLeadingAndTrailingSpaces 'ZyURL: eMule/apps_aMule_server.html, eMule/apps_aMule_task.html, eMule/apps_aMule_search.html'
++ '[' -z 'ZyURL: eMule/apps_aMule_server.html, eMule/apps_aMule_task.html, eMule/apps_aMule_search.html' ']'
++ echo 'ZyURL: eMule/apps_aMule_server.html, eMule/apps_aMule_task.html, eMule/apps_aMule_search.html'
+ line='ZyURL: eMule/apps_aMule_server.html, eMule/apps_aMule_task.html, eMule/apps_aMule_search.html'
+ '[' 'ZyURL: eMule/apps_aMule_server.html, eMule/apps_aMule_task.html, eMule/apps_aMule_search.html' = '' ']'
+ echo ZyURL: eMule/apps_aMule_server.html, eMule/apps_aMule_task.html, $'eMule/apps_aMule_search.html\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Filename: eMule_001_arm_008.zpkg'
++ '[' -z 'Filename: eMule_001_arm_008.zpkg' ']'
++ echo 'Filename: eMule_001_arm_008.zpkg'
+ line='Filename: eMule_001_arm_008.zpkg'
+ '[' 'Filename: eMule_001_arm_008.zpkg' = '' ']'
+ echo Filename: $'eMule_001_arm_008.zpkg\r'
+ read line
++ StripLeadingAndTrailingSpaces 'MD5SUM: 65487e97da6fb30446f22f1d8a15c90b'
++ '[' -z 'MD5SUM: 65487e97da6fb30446f22f1d8a15c90b' ']'
++ echo 'MD5SUM: 65487e97da6fb30446f22f1d8a15c90b'
+ line='MD5SUM: 65487e97da6fb30446f22f1d8a15c90b'
+ '[' 'MD5SUM: 65487e97da6fb30446f22f1d8a15c90b' = '' ']'
+ echo MD5SUM: $'65487e97da6fb30446f22f1d8a15c90b\r'
+ read line
++ StripLeadingAndTrailingSpaces $'\r'
++ '[' -z $'\r' ']'
++ echo $'\r'
+ line=$'\r'
+ '[' $'\r' = '' ']'
+ echo $'\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Package: gallery'
++ '[' -z 'Package: gallery' ']'
++ echo 'Package: gallery'
+ line='Package: gallery'
+ '[' 'Package: gallery' = '' ']'
+ echo Package: $'gallery\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Version: 3.0.4zypkg007'
++ '[' -z 'Version: 3.0.4zypkg007' ']'
++ echo 'Version: 3.0.4zypkg007'
+ line='Version: 3.0.4zypkg007'
+ '[' 'Version: 3.0.4zypkg007' = '' ']'
+ echo Version: $'3.0.4zypkg007\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Description: This web-based application allows your NSA to host pictures. Use the administrator account of your NSA to log in to the Gallery console.'
++ '[' -z 'Description: This web-based application allows your NSA to host pictures. Use the administrator account of your NSA to log in to the Gallery console.' ']'
++ echo 'Description: This web-based application allows your NSA to host pictures. Use the administrator account of your NSA to log in to the Gallery console.'
+ line='Description: This web-based application allows your NSA to host pictures. Use the administrator account of your NSA to log in to the Gallery console.'
+ '[' 'Description: This web-based application allows your NSA to host pictures. Use the administrator account of your NSA to log in to the Gallery console.' = '' ']'
+ echo Description: This web-based application allows your NSA to host pictures. Use the administrator account of your NSA to log in to the Gallery $'console.\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Depends: PHP-MySQL-phpMyAdmin'
++ '[' -z 'Depends: PHP-MySQL-phpMyAdmin' ']'
++ echo 'Depends: PHP-MySQL-phpMyAdmin'
+ line='Depends: PHP-MySQL-phpMyAdmin'
+ '[' 'Depends: PHP-MySQL-phpMyAdmin' = '' ']'
+ echo Depends: $'PHP-MySQL-phpMyAdmin\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Size: 2066740'
++ '[' -z 'Size: 2066740' ']'
++ echo 'Size: 2066740'
+ line='Size: 2066740'
+ '[' 'Size: 2066740' = '' ']'
+ echo Size: $'2066740\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Installed-Size: 6361328'
++ '[' -z 'Installed-Size: 6361328' ']'
++ echo 'Installed-Size: 6361328'
+ line='Installed-Size: 6361328'
+ '[' 'Installed-Size: 6361328' = '' ']'
+ echo Installed-Size: $'6361328\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Architecture: arm'
++ '[' -z 'Architecture: arm' ']'
++ echo 'Architecture: arm'
+ line='Architecture: arm'
+ '[' 'Architecture: arm' = '' ']'
+ echo Architecture: $'arm\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Zy-Model: NSA-220, NSA-220 PLUS, NSA210, NSA221'
++ '[' -z 'Zy-Model: NSA-220, NSA-220 PLUS, NSA210, NSA221' ']'
++ echo 'Zy-Model: NSA-220, NSA-220 PLUS, NSA210, NSA221'
+ line='Zy-Model: NSA-220, NSA-220 PLUS, NSA210, NSA221'
+ '[' 'Zy-Model: NSA-220, NSA-220 PLUS, NSA210, NSA221' = '' ']'
+ echo Zy-Model: NSA-220, NSA-220 PLUS, NSA210, $'NSA221\r'
+ read line
++ StripLeadingAndTrailingSpaces 'IsBuiltin: N'
++ '[' -z 'IsBuiltin: N' ']'
++ echo 'IsBuiltin: N'
+ line='IsBuiltin: N'
+ '[' 'IsBuiltin: N' = '' ']'
+ echo IsBuiltin: $'N\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Filename: gallery_3.0.4_arm_007.zpkg'
++ '[' -z 'Filename: gallery_3.0.4_arm_007.zpkg' ']'
++ echo 'Filename: gallery_3.0.4_arm_007.zpkg'
+ line='Filename: gallery_3.0.4_arm_007.zpkg'
+ '[' 'Filename: gallery_3.0.4_arm_007.zpkg' = '' ']'
+ echo Filename: $'gallery_3.0.4_arm_007.zpkg\r'
+ read line
++ StripLeadingAndTrailingSpaces 'MD5SUM: a2e540a2548b2d1f2d07549ce060c1c4'
++ '[' -z 'MD5SUM: a2e540a2548b2d1f2d07549ce060c1c4' ']'
++ echo 'MD5SUM: a2e540a2548b2d1f2d07549ce060c1c4'
+ line='MD5SUM: a2e540a2548b2d1f2d07549ce060c1c4'
+ '[' 'MD5SUM: a2e540a2548b2d1f2d07549ce060c1c4' = '' ']'
+ echo MD5SUM: $'a2e540a2548b2d1f2d07549ce060c1c4\r'
+ read line
++ StripLeadingAndTrailingSpaces $'\r'
++ '[' -z $'\r' ']'
++ echo $'\r'
+ line=$'\r'
+ '[' $'\r' = '' ']'
+ echo $'\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Package: GoogleDriveClient'
++ '[' -z 'Package: GoogleDriveClient' ']'
++ echo 'Package: GoogleDriveClient'
+ line='Package: GoogleDriveClient'
+ '[' 'Package: GoogleDriveClient' = '' ']'
+ echo Package: $'GoogleDriveClient\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Version: 0.4.0zypkg002'
++ '[' -z 'Version: 0.4.0zypkg002' ']'
++ echo 'Version: 0.4.0zypkg002'
+ line='Version: 0.4.0zypkg002'
+ '[' 'Version: 0.4.0zypkg002' = '' ']'
+ echo Version: $'0.4.0zypkg002\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Description: This offers service of 2-way synchronization between NAS and Google Drive.'
++ '[' -z 'Description: This offers service of 2-way synchronization between NAS and Google Drive.' ']'
++ echo 'Description: This offers service of 2-way synchronization between NAS and Google Drive.'
+ line='Description: This offers service of 2-way synchronization between NAS and Google Drive.'
+ '[' 'Description: This offers service of 2-way synchronization between NAS and Google Drive.' = '' ']'
+ echo Description: This offers service of 2-way synchronization between NAS and Google $'Drive.\r'
+ read line
++ StripLeadingAndTrailingSpaces $'Depends:\r'
++ '[' -z $'Depends:\r' ']'
++ echo $'Depends:\r'
+ line=$'Depends:\r'
+ '[' $'Depends:\r' = '' ']'
+ echo $'Depends:\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Size: 1261549'
++ '[' -z 'Size: 1261549' ']'
++ echo 'Size: 1261549'
+ line='Size: 1261549'
+ '[' 'Size: 1261549' = '' ']'
+ echo Size: $'1261549\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Installed-Size: 2014652'
++ '[' -z 'Installed-Size: 2014652' ']'
++ echo 'Installed-Size: 2014652'
+ line='Installed-Size: 2014652'
+ '[' 'Installed-Size: 2014652' = '' ']'
+ echo Installed-Size: $'2014652\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Architecture: arm'
++ '[' -z 'Architecture: arm' ']'
++ echo 'Architecture: arm'
+ line='Architecture: arm'
+ '[' 'Architecture: arm' = '' ']'
+ echo Architecture: $'arm\r'
+ read line
++ StripLeadingAndTrailingSpaces $'Zy-Model:\r'
++ '[' -z $'Zy-Model:\r' ']'
++ echo $'Zy-Model:\r'
+ line=$'Zy-Model:\r'
+ '[' $'Zy-Model:\r' = '' ']'
+ echo $'Zy-Model:\r'
+ read line
++ StripLeadingAndTrailingSpaces 'IsBuiltin: Y'
++ '[' -z 'IsBuiltin: Y' ']'
++ echo 'IsBuiltin: Y'
+ line='IsBuiltin: Y'
+ '[' 'IsBuiltin: Y' = '' ']'
+ echo IsBuiltin: $'Y\r'
+ read line
++ StripLeadingAndTrailingSpaces 'TreeLocation: Applications:GoogleDriveClient'
++ '[' -z 'TreeLocation: Applications:GoogleDriveClient' ']'
++ echo 'TreeLocation: Applications:GoogleDriveClient'
+ line='TreeLocation: Applications:GoogleDriveClient'
+ '[' 'TreeLocation: Applications:GoogleDriveClient' = '' ']'
+ echo TreeLocation: $'Applications:GoogleDriveClient\r'
+ read line
++ StripLeadingAndTrailingSpaces 'ZyURL: GoogleDriveClient/apps_google_drive.html'
++ '[' -z 'ZyURL: GoogleDriveClient/apps_google_drive.html' ']'
++ echo 'ZyURL: GoogleDriveClient/apps_google_drive.html'
+ line='ZyURL: GoogleDriveClient/apps_google_drive.html'
+ '[' 'ZyURL: GoogleDriveClient/apps_google_drive.html' = '' ']'
+ echo ZyURL: $'GoogleDriveClient/apps_google_drive.html\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Filename: GoogleDriveClient_0.4.0_arm_002.zpkg'
++ '[' -z 'Filename: GoogleDriveClient_0.4.0_arm_002.zpkg' ']'
++ echo 'Filename: GoogleDriveClient_0.4.0_arm_002.zpkg'
+ line='Filename: GoogleDriveClient_0.4.0_arm_002.zpkg'
+ '[' 'Filename: GoogleDriveClient_0.4.0_arm_002.zpkg' = '' ']'
+ echo Filename: $'GoogleDriveClient_0.4.0_arm_002.zpkg\r'
+ read line
++ StripLeadingAndTrailingSpaces 'MD5SUM: e35256dd9023323985b41841493cee9c'
++ '[' -z 'MD5SUM: e35256dd9023323985b41841493cee9c' ']'
++ echo 'MD5SUM: e35256dd9023323985b41841493cee9c'
+ line='MD5SUM: e35256dd9023323985b41841493cee9c'
+ '[' 'MD5SUM: e35256dd9023323985b41841493cee9c' = '' ']'
+ echo MD5SUM: $'e35256dd9023323985b41841493cee9c\r'
+ read line
++ StripLeadingAndTrailingSpaces $'\r'
++ '[' -z $'\r' ']'
++ echo $'\r'
+ line=$'\r'
+ '[' $'\r' = '' ']'
+ echo $'\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Package: Memopal'
++ '[' -z 'Package: Memopal' ']'
++ echo 'Package: Memopal'
+ line='Package: Memopal'
+ '[' 'Package: Memopal' = '' ']'
+ echo Package: $'Memopal\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Version: 2.4.4zypkg003'
++ '[' -z 'Version: 2.4.4zypkg003' ']'
++ echo 'Version: 2.4.4zypkg003'
+ line='Version: 2.4.4zypkg003'
+ '[' 'Version: 2.4.4zypkg003' = '' ']'
+ echo Version: $'2.4.4zypkg003\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Description: Memopal is online backup and online storage software that archives your files in real-time to a remote server.'
++ '[' -z 'Description: Memopal is online backup and online storage software that archives your files in real-time to a remote server.' ']'
++ echo 'Description: Memopal is online backup and online storage software that archives your files in real-time to a remote server.'
+ line='Description: Memopal is online backup and online storage software that archives your files in real-time to a remote server.'
+ '[' 'Description: Memopal is online backup and online storage software that archives your files in real-time to a remote server.' = '' ']'
+ echo Description: Memopal is online backup and online storage software that archives your files in real-time to a remote $'server.\r'
+ read line
++ StripLeadingAndTrailingSpaces $'Depends:\r'
++ '[' -z $'Depends:\r' ']'
++ echo $'Depends:\r'
+ line=$'Depends:\r'
+ '[' $'Depends:\r' = '' ']'
+ echo $'Depends:\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Size: 1035495'
++ '[' -z 'Size: 1035495' ']'
++ echo 'Size: 1035495'
+ line='Size: 1035495'
+ '[' 'Size: 1035495' = '' ']'
+ echo Size: $'1035495\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Installed-Size: 3303809'
++ '[' -z 'Installed-Size: 3303809' ']'
++ echo 'Installed-Size: 3303809'
+ line='Installed-Size: 3303809'
+ '[' 'Installed-Size: 3303809' = '' ']'
+ echo Installed-Size: $'3303809\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Architecture: arm'
++ '[' -z 'Architecture: arm' ']'
++ echo 'Architecture: arm'
+ line='Architecture: arm'
+ '[' 'Architecture: arm' = '' ']'
+ echo Architecture: $'arm\r'
+ read line
++ StripLeadingAndTrailingSpaces $'Zy-Model:\r'
++ '[' -z $'Zy-Model:\r' ']'
++ echo $'Zy-Model:\r'
+ line=$'Zy-Model:\r'
+ '[' $'Zy-Model:\r' = '' ']'
+ echo $'Zy-Model:\r'
+ read line
++ StripLeadingAndTrailingSpaces 'IsBuiltin: Y'
++ '[' -z 'IsBuiltin: Y' ']'
++ echo 'IsBuiltin: Y'
+ line='IsBuiltin: Y'
+ '[' 'IsBuiltin: Y' = '' ']'
+ echo IsBuiltin: $'Y\r'
+ read line
++ StripLeadingAndTrailingSpaces 'TreeLocation: Applications:Memopal'
++ '[' -z 'TreeLocation: Applications:Memopal' ']'
++ echo 'TreeLocation: Applications:Memopal'
+ line='TreeLocation: Applications:Memopal'
+ '[' 'TreeLocation: Applications:Memopal' = '' ']'
+ echo TreeLocation: $'Applications:Memopal\r'
+ read line
++ StripLeadingAndTrailingSpaces 'ZyURL: Memopal/apps_memopal.html'
++ '[' -z 'ZyURL: Memopal/apps_memopal.html' ']'
++ echo 'ZyURL: Memopal/apps_memopal.html'
+ line='ZyURL: Memopal/apps_memopal.html'
+ '[' 'ZyURL: Memopal/apps_memopal.html' = '' ']'
+ echo ZyURL: $'Memopal/apps_memopal.html\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Filename: Memopal_2.4.4_arm_003.zpkg'
++ '[' -z 'Filename: Memopal_2.4.4_arm_003.zpkg' ']'
++ echo 'Filename: Memopal_2.4.4_arm_003.zpkg'
+ line='Filename: Memopal_2.4.4_arm_003.zpkg'
+ '[' 'Filename: Memopal_2.4.4_arm_003.zpkg' = '' ']'
+ echo Filename: $'Memopal_2.4.4_arm_003.zpkg\r'
+ read line
++ StripLeadingAndTrailingSpaces 'MD5SUM: a655ffe1696858c66df182d0cd1ac4fe'
++ '[' -z 'MD5SUM: a655ffe1696858c66df182d0cd1ac4fe' ']'
++ echo 'MD5SUM: a655ffe1696858c66df182d0cd1ac4fe'
+ line='MD5SUM: a655ffe1696858c66df182d0cd1ac4fe'
+ '[' 'MD5SUM: a655ffe1696858c66df182d0cd1ac4fe' = '' ']'
+ echo MD5SUM: $'a655ffe1696858c66df182d0cd1ac4fe\r'
+ read line
++ StripLeadingAndTrailingSpaces $'\r'
++ '[' -z $'\r' ']'
++ echo $'\r'
+ line=$'\r'
+ '[' $'\r' = '' ']'
+ echo $'\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Package: myZyXELcloud-Agent'
++ '[' -z 'Package: myZyXELcloud-Agent' ']'
++ echo 'Package: myZyXELcloud-Agent'
+ line='Package: myZyXELcloud-Agent'
+ '[' 'Package: myZyXELcloud-Agent' = '' ']'
+ echo Package: $'myZyXELcloud-Agent\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Version: 0.0.15zypkg0015'
++ '[' -z 'Version: 0.0.15zypkg0015' ']'
++ echo 'Version: 0.0.15zypkg0015'
+ line='Version: 0.0.15zypkg0015'
+ '[' 'Version: 0.0.15zypkg0015' = '' ']'
+ echo Version: $'0.0.15zypkg0015\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Description: myZyXELcloud, your solution for remote application management and access to your ZyXEL network storage accessory!'
++ '[' -z 'Description: myZyXELcloud, your solution for remote application management and access to your ZyXEL network storage accessory!' ']'
++ echo 'Description: myZyXELcloud, your solution for remote application management and access to your ZyXEL network storage accessory!'
+ line='Description: myZyXELcloud, your solution for remote application management and access to your ZyXEL network storage accessory!'
+ '[' 'Description: myZyXELcloud, your solution for remote application management and access to your ZyXEL network storage accessory!' = '' ']'
+ echo Description: myZyXELcloud, your solution for remote application management and access to your ZyXEL network storage 'accessory!'
+ read line
++ StripLeadingAndTrailingSpaces $'Depends:\r'
++ '[' -z $'Depends:\r' ']'
++ echo $'Depends:\r'
+ line=$'Depends:\r'
+ '[' $'Depends:\r' = '' ']'
+ echo $'Depends:\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Size: 1587626'
++ '[' -z 'Size: 1587626' ']'
++ echo 'Size: 1587626'
+ line='Size: 1587626'
+ '[' 'Size: 1587626' = '' ']'
+ echo Size: $'1587626\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Installed-Size: 4005714'
++ '[' -z 'Installed-Size: 4005714' ']'
++ echo 'Installed-Size: 4005714'
+ line='Installed-Size: 4005714'
+ '[' 'Installed-Size: 4005714' = '' ']'
+ echo Installed-Size: $'4005714\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Architecture: arm'
++ '[' -z 'Architecture: arm' ']'
++ echo 'Architecture: arm'
+ line='Architecture: arm'
+ '[' 'Architecture: arm' = '' ']'
+ echo Architecture: $'arm\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Zy-Model: '
++ '[' -z 'Zy-Model: ' ']'
++ echo 'Zy-Model: '
+ line='Zy-Model: '
+ '[' 'Zy-Model: ' = '' ']'
+ echo Zy-Model: $'\r'
+ read line
++ StripLeadingAndTrailingSpaces 'IsBuiltin: N'
++ '[' -z 'IsBuiltin: N' ']'
++ echo 'IsBuiltin: N'
+ line='IsBuiltin: N'
+ '[' 'IsBuiltin: N' = '' ']'
+ echo IsBuiltin: $'N\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Filename: myZyXELcloud-Agent_0.0.15_arm_0015.zpkg'
++ '[' -z 'Filename: myZyXELcloud-Agent_0.0.15_arm_0015.zpkg' ']'
++ echo 'Filename: myZyXELcloud-Agent_0.0.15_arm_0015.zpkg'
+ line='Filename: myZyXELcloud-Agent_0.0.15_arm_0015.zpkg'
+ '[' 'Filename: myZyXELcloud-Agent_0.0.15_arm_0015.zpkg' = '' ']'
+ echo Filename: $'myZyXELcloud-Agent_0.0.15_arm_0015.zpkg\r'
+ read line
++ StripLeadingAndTrailingSpaces 'MD5SUM: a39b7422ae54bb7b7480efc0fb8da762'
++ '[' -z 'MD5SUM: a39b7422ae54bb7b7480efc0fb8da762' ']'
++ echo 'MD5SUM: a39b7422ae54bb7b7480efc0fb8da762'
+ line='MD5SUM: a39b7422ae54bb7b7480efc0fb8da762'
+ '[' 'MD5SUM: a39b7422ae54bb7b7480efc0fb8da762' = '' ']'
+ echo MD5SUM: $'a39b7422ae54bb7b7480efc0fb8da762\r'
+ read line
++ StripLeadingAndTrailingSpaces $'\r'
++ '[' -z $'\r' ']'
++ echo $'\r'
+ line=$'\r'
+ '[' $'\r' = '' ']'
+ echo $'\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Package: NFS'
++ '[' -z 'Package: NFS' ']'
++ echo 'Package: NFS'
+ line='Package: NFS'
+ '[' 'Package: NFS' = '' ']'
+ echo Package: $'NFS\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Version: 1.1.4zypkg005'
++ '[' -z 'Version: 1.1.4zypkg005' ']'
++ echo 'Version: 1.1.4zypkg005'
+ line='Version: 1.1.4zypkg005'
+ '[' 'Version: 1.1.4zypkg005' = '' ']'
+ echo Version: $'1.1.4zypkg005\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Description: NFS (Network File System) is a file-sharing protocol most commonly implemented on Unix-like systems.'
++ '[' -z 'Description: NFS (Network File System) is a file-sharing protocol most commonly implemented on Unix-like systems.' ']'
++ echo 'Description: NFS (Network File System) is a file-sharing protocol most commonly implemented on Unix-like systems.'
+ line='Description: NFS (Network File System) is a file-sharing protocol most commonly implemented on Unix-like systems.'
+ '[' 'Description: NFS (Network File System) is a file-sharing protocol most commonly implemented on Unix-like systems.' = '' ']'
+ echo Description: NFS '(Network' File 'System)' is a file-sharing protocol most commonly implemented on Unix-like $'systems.\r'
+ read line
++ StripLeadingAndTrailingSpaces $'Depends:\r'
++ '[' -z $'Depends:\r' ']'
++ echo $'Depends:\r'
+ line=$'Depends:\r'
+ '[' $'Depends:\r' = '' ']'
+ echo $'Depends:\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Size: 307200'
++ '[' -z 'Size: 307200' ']'
++ echo 'Size: 307200'
+ line='Size: 307200'
+ '[' 'Size: 307200' = '' ']'
+ echo Size: $'307200\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Installed-Size: 1048576'
++ '[' -z 'Installed-Size: 1048576' ']'
++ echo 'Installed-Size: 1048576'
+ line='Installed-Size: 1048576'
+ '[' 'Installed-Size: 1048576' = '' ']'
+ echo Installed-Size: $'1048576\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Architecture: arm'
++ '[' -z 'Architecture: arm' ']'
++ echo 'Architecture: arm'
+ line='Architecture: arm'
+ '[' 'Architecture: arm' = '' ']'
+ echo Architecture: $'arm\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Zy-Model: NSA-220, NSA-220 PLUS'
++ '[' -z 'Zy-Model: NSA-220, NSA-220 PLUS' ']'
++ echo 'Zy-Model: NSA-220, NSA-220 PLUS'
+ line='Zy-Model: NSA-220, NSA-220 PLUS'
+ '[' 'Zy-Model: NSA-220, NSA-220 PLUS' = '' ']'
+ echo Zy-Model: NSA-220, NSA-220 $'PLUS\r'
+ read line
++ StripLeadingAndTrailingSpaces 'IsBuiltin: Y'
++ '[' -z 'IsBuiltin: Y' ']'
++ echo 'IsBuiltin: Y'
+ line='IsBuiltin: Y'
+ '[' 'IsBuiltin: Y' = '' ']'
+ echo IsBuiltin: $'Y\r'
+ read line
++ StripLeadingAndTrailingSpaces 'TreeLocation: Network:NFS'
++ '[' -z 'TreeLocation: Network:NFS' ']'
++ echo 'TreeLocation: Network:NFS'
+ line='TreeLocation: Network:NFS'
+ '[' 'TreeLocation: Network:NFS' = '' ']'
+ echo TreeLocation: $'Network:NFS\r'
+ read line
++ StripLeadingAndTrailingSpaces 'ZyURL: NFS/NFS.html'
++ '[' -z 'ZyURL: NFS/NFS.html' ']'
++ echo 'ZyURL: NFS/NFS.html'
+ line='ZyURL: NFS/NFS.html'
+ '[' 'ZyURL: NFS/NFS.html' = '' ']'
+ echo ZyURL: $'NFS/NFS.html\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Filename: NFS_1.1.4_arm_005.zpkg'
++ '[' -z 'Filename: NFS_1.1.4_arm_005.zpkg' ']'
++ echo 'Filename: NFS_1.1.4_arm_005.zpkg'
+ line='Filename: NFS_1.1.4_arm_005.zpkg'
+ '[' 'Filename: NFS_1.1.4_arm_005.zpkg' = '' ']'
+ echo Filename: $'NFS_1.1.4_arm_005.zpkg\r'
+ read line
++ StripLeadingAndTrailingSpaces 'MD5SUM: 25822115fb9ec090fa5de90887a12e06'
++ '[' -z 'MD5SUM: 25822115fb9ec090fa5de90887a12e06' ']'
++ echo 'MD5SUM: 25822115fb9ec090fa5de90887a12e06'
+ line='MD5SUM: 25822115fb9ec090fa5de90887a12e06'
+ '[' 'MD5SUM: 25822115fb9ec090fa5de90887a12e06' = '' ']'
+ echo MD5SUM: $'25822115fb9ec090fa5de90887a12e06\r'
+ read line
++ StripLeadingAndTrailingSpaces $'\r'
++ '[' -z $'\r' ']'
++ echo $'\r'
+ line=$'\r'
+ '[' $'\r' = '' ']'
+ echo $'\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Package: NZBGet'
++ '[' -z 'Package: NZBGet' ']'
++ echo 'Package: NZBGet'
+ line='Package: NZBGet'
+ '[' 'Package: NZBGet' = '' ']'
+ echo Package: $'NZBGet\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Version: 11.0zypkg004'
++ '[' -z 'Version: 11.0zypkg004' ']'
++ echo 'Version: 11.0zypkg004'
+ line='Version: 11.0zypkg004'
+ '[' 'Version: 11.0zypkg004' = '' ']'
+ echo Version: $'11.0zypkg004\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Description: This package downloads .nzb file from Usenet. Default username:nzbget password:1234'
++ '[' -z 'Description: This package downloads .nzb file from Usenet. Default username:nzbget password:1234' ']'
++ echo 'Description: This package downloads .nzb file from Usenet. Default username:nzbget password:1234'
+ line='Description: This package downloads .nzb file from Usenet. Default username:nzbget password:1234'
+ '[' 'Description: This package downloads .nzb file from Usenet. Default username:nzbget password:1234' = '' ']'
+ echo Description: This package downloads .nzb file from Usenet. Default username:nzbget $'password:1234\r'
+ read line
++ StripLeadingAndTrailingSpaces $'Depends:\r'
++ '[' -z $'Depends:\r' ']'
++ echo $'Depends:\r'
+ line=$'Depends:\r'
+ '[' $'Depends:\r' = '' ']'
+ echo $'Depends:\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Size: 280088'
++ '[' -z 'Size: 280088' ']'
++ echo 'Size: 280088'
+ line='Size: 280088'
+ '[' 'Size: 280088' = '' ']'
+ echo Size: $'280088\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Installed-Size: 660608'
++ '[' -z 'Installed-Size: 660608' ']'
++ echo 'Installed-Size: 660608'
+ line='Installed-Size: 660608'
+ '[' 'Installed-Size: 660608' = '' ']'
+ echo Installed-Size: $'660608\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Architecture: arm'
++ '[' -z 'Architecture: arm' ']'
++ echo 'Architecture: arm'
+ line='Architecture: arm'
+ '[' 'Architecture: arm' = '' ']'
+ echo Architecture: $'arm\r'
+ read line
++ StripLeadingAndTrailingSpaces 'IsBuiltin: N'
++ '[' -z 'IsBuiltin: N' ']'
++ echo 'IsBuiltin: N'
+ line='IsBuiltin: N'
+ '[' 'IsBuiltin: N' = '' ']'
+ echo IsBuiltin: $'N\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Zy-Model: '
++ '[' -z 'Zy-Model: ' ']'
++ echo 'Zy-Model: '
+ line='Zy-Model: '
+ '[' 'Zy-Model: ' = '' ']'
+ echo Zy-Model: $'\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Filename: NZBGet_11.0_arm_004.zpkg'
++ '[' -z 'Filename: NZBGet_11.0_arm_004.zpkg' ']'
++ echo 'Filename: NZBGet_11.0_arm_004.zpkg'
+ line='Filename: NZBGet_11.0_arm_004.zpkg'
+ '[' 'Filename: NZBGet_11.0_arm_004.zpkg' = '' ']'
+ echo Filename: $'NZBGet_11.0_arm_004.zpkg\r'
+ read line
++ StripLeadingAndTrailingSpaces 'MD5SUM: bd6e09a259d300922c358d41dcb85957'
++ '[' -z 'MD5SUM: bd6e09a259d300922c358d41dcb85957' ']'
++ echo 'MD5SUM: bd6e09a259d300922c358d41dcb85957'
+ line='MD5SUM: bd6e09a259d300922c358d41dcb85957'
+ '[' 'MD5SUM: bd6e09a259d300922c358d41dcb85957' = '' ']'
+ echo MD5SUM: $'bd6e09a259d300922c358d41dcb85957\r'
+ read line
++ StripLeadingAndTrailingSpaces $'\r'
++ '[' -z $'\r' ']'
++ echo $'\r'
+ line=$'\r'
+ '[' $'\r' = '' ']'
+ echo $'\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Package: ownCloud'
++ '[' -z 'Package: ownCloud' ']'
++ echo 'Package: ownCloud'
+ line='Package: ownCloud'
+ '[' 'Package: ownCloud' = '' ']'
+ echo Package: $'ownCloud\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Version: 7.0.3zypkg003'
++ '[' -z 'Version: 7.0.3zypkg003' ']'
++ echo 'Version: 7.0.3zypkg003'
+ line='Version: 7.0.3zypkg003'
+ '[' 'Version: 7.0.3zypkg003' = '' ']'
+ echo Version: $'7.0.3zypkg003\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Description: This allows you to create and manage your private cloud. Please use the "admin/1234" as default username and password to log in ownCloud.'
++ '[' -z 'Description: This allows you to create and manage your private cloud. Please use the "admin/1234" as default username and password to log in ownCloud.' ']'
++ echo 'Description: This allows you to create and manage your private cloud. Please use the "admin/1234" as default username and password to log in ownCloud.'
+ line='Description: This allows you to create and manage your private cloud. Please use the "admin/1234" as default username and password to log in ownCloud.'
+ '[' 'Description: This allows you to create and manage your private cloud. Please use the "admin/1234" as default username and password to log in ownCloud.' = '' ']'
+ echo Description: This allows you to create and manage your private cloud. Please use the '"admin/1234"' as default username and password to log in $'ownCloud.\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Depends: PHP-MySQL-phpMyAdmin'
++ '[' -z 'Depends: PHP-MySQL-phpMyAdmin' ']'
++ echo 'Depends: PHP-MySQL-phpMyAdmin'
+ line='Depends: PHP-MySQL-phpMyAdmin'
+ '[' 'Depends: PHP-MySQL-phpMyAdmin' = '' ']'
+ echo Depends: $'PHP-MySQL-phpMyAdmin\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Size: 16264714'
++ '[' -z 'Size: 16264714' ']'
++ echo 'Size: 16264714'
+ line='Size: 16264714'
+ '[' 'Size: 16264714' = '' ']'
+ echo Size: $'16264714\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Installed-Size: 49136271'
++ '[' -z 'Installed-Size: 49136271' ']'
++ echo 'Installed-Size: 49136271'
+ line='Installed-Size: 49136271'
+ '[' 'Installed-Size: 49136271' = '' ']'
+ echo Installed-Size: $'49136271\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Architecture: arm'
++ '[' -z 'Architecture: arm' ']'
++ echo 'Architecture: arm'
+ line='Architecture: arm'
+ '[' 'Architecture: arm' = '' ']'
+ echo Architecture: $'arm\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Zy-Model: NSA-220, NSA-220 PLUS, NSA210, NSA221'
++ '[' -z 'Zy-Model: NSA-220, NSA-220 PLUS, NSA210, NSA221' ']'
++ echo 'Zy-Model: NSA-220, NSA-220 PLUS, NSA210, NSA221'
+ line='Zy-Model: NSA-220, NSA-220 PLUS, NSA210, NSA221'
+ '[' 'Zy-Model: NSA-220, NSA-220 PLUS, NSA210, NSA221' = '' ']'
+ echo Zy-Model: NSA-220, NSA-220 PLUS, NSA210, $'NSA221\r'
+ read line
++ StripLeadingAndTrailingSpaces 'IsBuiltin: N'
++ '[' -z 'IsBuiltin: N' ']'
++ echo 'IsBuiltin: N'
+ line='IsBuiltin: N'
+ '[' 'IsBuiltin: N' = '' ']'
+ echo IsBuiltin: $'N\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Filename: ownCloud_7.0.3_arm_003.zpkg'
++ '[' -z 'Filename: ownCloud_7.0.3_arm_003.zpkg' ']'
++ echo 'Filename: ownCloud_7.0.3_arm_003.zpkg'
+ line='Filename: ownCloud_7.0.3_arm_003.zpkg'
+ '[' 'Filename: ownCloud_7.0.3_arm_003.zpkg' = '' ']'
+ echo Filename: $'ownCloud_7.0.3_arm_003.zpkg\r'
+ read line
++ StripLeadingAndTrailingSpaces 'MD5SUM: 7ce44de8948b71270b62068e27424853'
++ '[' -z 'MD5SUM: 7ce44de8948b71270b62068e27424853' ']'
++ echo 'MD5SUM: 7ce44de8948b71270b62068e27424853'
+ line='MD5SUM: 7ce44de8948b71270b62068e27424853'
+ '[' 'MD5SUM: 7ce44de8948b71270b62068e27424853' = '' ']'
+ echo MD5SUM: $'7ce44de8948b71270b62068e27424853\r'
+ read line
++ StripLeadingAndTrailingSpaces $'\r'
++ '[' -z $'\r' ']'
++ echo $'\r'
+ line=$'\r'
+ '[' $'\r' = '' ']'
+ echo $'\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Package: PHP-MySQL-phpMyAdmin'
++ '[' -z 'Package: PHP-MySQL-phpMyAdmin' ']'
++ echo 'Package: PHP-MySQL-phpMyAdmin'
+ line='Package: PHP-MySQL-phpMyAdmin'
+ '[' 'Package: PHP-MySQL-phpMyAdmin' = '' ']'
+ echo Package: $'PHP-MySQL-phpMyAdmin\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Version: 2.0zypkg009'
++ '[' -z 'Version: 2.0zypkg009' ']'
++ echo 'Version: 2.0zypkg009'
+ line='Version: 2.0zypkg009'
+ '[' 'Version: 2.0zypkg009' = '' ']'
+ echo Version: $'2.0zypkg009\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Description: This tool can be used to manage MySQL through the web. Enter '\''root'\'' as the username and '\''1234'\'' as the password to log in.'
++ '[' -z 'Description: This tool can be used to manage MySQL through the web. Enter '\''root'\'' as the username and '\''1234'\'' as the password to log in.' ']'
++ echo 'Description: This tool can be used to manage MySQL through the web. Enter '\''root'\'' as the username and '\''1234'\'' as the password to log in.'
+ line='Description: This tool can be used to manage MySQL through the web. Enter '\''root'\'' as the username and '\''1234'\'' as the password to log in.'
+ '[' 'Description: This tool can be used to manage MySQL through the web. Enter '\''root'\'' as the username and '\''1234'\'' as the password to log in.' = '' ']'
+ echo Description: This tool can be used to manage MySQL through the web. Enter ''\''root'\''' as the username and ''\''1234'\''' as the password to log $'in.\r'
+ read line
++ StripLeadingAndTrailingSpaces $'Depends:\r'
++ '[' -z $'Depends:\r' ']'
++ echo $'Depends:\r'
+ line=$'Depends:\r'
+ '[' $'Depends:\r' = '' ']'
+ echo $'Depends:\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Size: 23595056'
++ '[' -z 'Size: 23595056' ']'
++ echo 'Size: 23595056'
+ line='Size: 23595056'
+ '[' 'Size: 23595056' = '' ']'
+ echo Size: $'23595056\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Installed-Size: 67543040'
++ '[' -z 'Installed-Size: 67543040' ']'
++ echo 'Installed-Size: 67543040'
+ line='Installed-Size: 67543040'
+ '[' 'Installed-Size: 67543040' = '' ']'
+ echo Installed-Size: $'67543040\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Architecture: arm'
++ '[' -z 'Architecture: arm' ']'
++ echo 'Architecture: arm'
+ line='Architecture: arm'
+ '[' 'Architecture: arm' = '' ']'
+ echo Architecture: $'arm\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Zy-Model: NSA-220, NSA-220 PLUS, NSA210, NSA221'
++ '[' -z 'Zy-Model: NSA-220, NSA-220 PLUS, NSA210, NSA221' ']'
++ echo 'Zy-Model: NSA-220, NSA-220 PLUS, NSA210, NSA221'
+ line='Zy-Model: NSA-220, NSA-220 PLUS, NSA210, NSA221'
+ '[' 'Zy-Model: NSA-220, NSA-220 PLUS, NSA210, NSA221' = '' ']'
+ echo Zy-Model: NSA-220, NSA-220 PLUS, NSA210, $'NSA221\r'
+ read line
++ StripLeadingAndTrailingSpaces 'IsBuiltin: N'
++ '[' -z 'IsBuiltin: N' ']'
++ echo 'IsBuiltin: N'
+ line='IsBuiltin: N'
+ '[' 'IsBuiltin: N' = '' ']'
+ echo IsBuiltin: $'N\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Filename: PHP-MySQL-phpMyAdmin_2.0_arm_009.zpkg'
++ '[' -z 'Filename: PHP-MySQL-phpMyAdmin_2.0_arm_009.zpkg' ']'
++ echo 'Filename: PHP-MySQL-phpMyAdmin_2.0_arm_009.zpkg'
+ line='Filename: PHP-MySQL-phpMyAdmin_2.0_arm_009.zpkg'
+ '[' 'Filename: PHP-MySQL-phpMyAdmin_2.0_arm_009.zpkg' = '' ']'
+ echo Filename: $'PHP-MySQL-phpMyAdmin_2.0_arm_009.zpkg\r'
+ read line
++ StripLeadingAndTrailingSpaces 'MD5SUM: f09773963684398a007aa1ad3c4fc8ed'
++ '[' -z 'MD5SUM: f09773963684398a007aa1ad3c4fc8ed' ']'
++ echo 'MD5SUM: f09773963684398a007aa1ad3c4fc8ed'
+ line='MD5SUM: f09773963684398a007aa1ad3c4fc8ed'
+ '[' 'MD5SUM: f09773963684398a007aa1ad3c4fc8ed' = '' ']'
+ echo MD5SUM: $'f09773963684398a007aa1ad3c4fc8ed\r'
+ read line
++ StripLeadingAndTrailingSpaces $'\r'
++ '[' -z $'\r' ']'
++ echo $'\r'
+ line=$'\r'
+ '[' $'\r' = '' ']'
+ echo $'\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Package: Polkast'
++ '[' -z 'Package: Polkast' ']'
++ echo 'Package: Polkast'
+ line='Package: Polkast'
+ '[' 'Package: Polkast' = '' ']'
+ echo Package: $'Polkast\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Version: 001zypkg0119'
++ '[' -z 'Version: 001zypkg0119' ']'
++ echo 'Version: 001zypkg0119'
+ line='Version: 001zypkg0119'
+ '[' 'Version: 001zypkg0119' = '' ']'
+ echo Version: $'001zypkg0119\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Description: Fast, secure, direct access to your Media Server from your iPad, iPhone or Android device.'
++ '[' -z 'Description: Fast, secure, direct access to your Media Server from your iPad, iPhone or Android device.' ']'
++ echo 'Description: Fast, secure, direct access to your Media Server from your iPad, iPhone or Android device.'
+ line='Description: Fast, secure, direct access to your Media Server from your iPad, iPhone or Android device.'
+ '[' 'Description: Fast, secure, direct access to your Media Server from your iPad, iPhone or Android device.' = '' ']'
+ echo Description: Fast, secure, direct access to your Media Server from your iPad, iPhone or Android $'device.\r'
+ read line
++ StripLeadingAndTrailingSpaces $'Depends:\r'
++ '[' -z $'Depends:\r' ']'
++ echo $'Depends:\r'
+ line=$'Depends:\r'
+ '[' $'Depends:\r' = '' ']'
+ echo $'Depends:\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Size: 29339202'
++ '[' -z 'Size: 29339202' ']'
++ echo 'Size: 29339202'
+ line='Size: 29339202'
+ '[' 'Size: 29339202' = '' ']'
+ echo Size: $'29339202\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Installed-Size: 81047161'
++ '[' -z 'Installed-Size: 81047161' ']'
++ echo 'Installed-Size: 81047161'
+ line='Installed-Size: 81047161'
+ '[' 'Installed-Size: 81047161' = '' ']'
+ echo Installed-Size: $'81047161\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Architecture: arm'
++ '[' -z 'Architecture: arm' ']'
++ echo 'Architecture: arm'
+ line='Architecture: arm'
+ '[' 'Architecture: arm' = '' ']'
+ echo Architecture: $'arm\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Zy-Model: NSA-310a, NSA320, NSA-320, NSA-310, NSA310, NSA325, NSA-325'
++ '[' -z 'Zy-Model: NSA-310a, NSA320, NSA-320, NSA-310, NSA310, NSA325, NSA-325' ']'
++ echo 'Zy-Model: NSA-310a, NSA320, NSA-320, NSA-310, NSA310, NSA325, NSA-325'
+ line='Zy-Model: NSA-310a, NSA320, NSA-320, NSA-310, NSA310, NSA325, NSA-325'
+ '[' 'Zy-Model: NSA-310a, NSA320, NSA-320, NSA-310, NSA310, NSA325, NSA-325' = '' ']'
+ echo Zy-Model: NSA-310a, NSA320, NSA-320, NSA-310, NSA310, NSA325, $'NSA-325\r'
+ read line
++ StripLeadingAndTrailingSpaces 'IsBuiltin: N'
++ '[' -z 'IsBuiltin: N' ']'
++ echo 'IsBuiltin: N'
+ line='IsBuiltin: N'
+ '[' 'IsBuiltin: N' = '' ']'
+ echo IsBuiltin: $'N\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Filename: Polkast_001_arm_0119.zpkg'
++ '[' -z 'Filename: Polkast_001_arm_0119.zpkg' ']'
++ echo 'Filename: Polkast_001_arm_0119.zpkg'
+ line='Filename: Polkast_001_arm_0119.zpkg'
+ '[' 'Filename: Polkast_001_arm_0119.zpkg' = '' ']'
+ echo Filename: $'Polkast_001_arm_0119.zpkg\r'
+ read line
++ StripLeadingAndTrailingSpaces 'MD5SUM: 0c4932e7bf7caba0a8d4f4cdc5deb332'
++ '[' -z 'MD5SUM: 0c4932e7bf7caba0a8d4f4cdc5deb332' ']'
++ echo 'MD5SUM: 0c4932e7bf7caba0a8d4f4cdc5deb332'
+ line='MD5SUM: 0c4932e7bf7caba0a8d4f4cdc5deb332'
+ '[' 'MD5SUM: 0c4932e7bf7caba0a8d4f4cdc5deb332' = '' ']'
+ echo MD5SUM: $'0c4932e7bf7caba0a8d4f4cdc5deb332\r'
+ read line
++ StripLeadingAndTrailingSpaces $'\r'
++ '[' -z $'\r' ']'
++ echo $'\r'
+ line=$'\r'
+ '[' $'\r' = '' ']'
+ echo $'\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Package: pyLoad'
++ '[' -z 'Package: pyLoad' ']'
++ echo 'Package: pyLoad'
+ line='Package: pyLoad'
+ '[' 'Package: pyLoad' = '' ']'
+ echo Package: $'pyLoad\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Version: 0.4.9zypkg005'
++ '[' -z 'Version: 0.4.9zypkg005' ']'
++ echo 'Version: 0.4.9zypkg005'
+ line='Version: 0.4.9zypkg005'
+ '[' 'Version: 0.4.9zypkg005' = '' ']'
+ echo Version: $'0.4.9zypkg005\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Description: Have the NAS manage your downloads including those from one-click-hosting sites.'
++ '[' -z 'Description: Have the NAS manage your downloads including those from one-click-hosting sites.' ']'
++ echo 'Description: Have the NAS manage your downloads including those from one-click-hosting sites.'
+ line='Description: Have the NAS manage your downloads including those from one-click-hosting sites.'
+ '[' 'Description: Have the NAS manage your downloads including those from one-click-hosting sites.' = '' ']'
+ echo Description: Have the NAS manage your downloads including those from one-click-hosting $'sites.\r'
+ read line
++ StripLeadingAndTrailingSpaces $'Depends:\r'
++ '[' -z $'Depends:\r' ']'
++ echo $'Depends:\r'
+ line=$'Depends:\r'
+ '[' $'Depends:\r' = '' ']'
+ echo $'Depends:\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Size: 5046327'
++ '[' -z 'Size: 5046327' ']'
++ echo 'Size: 5046327'
+ line='Size: 5046327'
+ '[' 'Size: 5046327' = '' ']'
+ echo Size: $'5046327\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Installed-Size: 31994451'
++ '[' -z 'Installed-Size: 31994451' ']'
++ echo 'Installed-Size: 31994451'
+ line='Installed-Size: 31994451'
+ '[' 'Installed-Size: 31994451' = '' ']'
+ echo Installed-Size: $'31994451\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Architecture: arm'
++ '[' -z 'Architecture: arm' ']'
++ echo 'Architecture: arm'
+ line='Architecture: arm'
+ '[' 'Architecture: arm' = '' ']'
+ echo Architecture: $'arm\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Zy-Model: NSA-320, NSA-220, NSA-220 PLUS'
++ '[' -z 'Zy-Model: NSA-320, NSA-220, NSA-220 PLUS' ']'
++ echo 'Zy-Model: NSA-320, NSA-220, NSA-220 PLUS'
+ line='Zy-Model: NSA-320, NSA-220, NSA-220 PLUS'
+ '[' 'Zy-Model: NSA-320, NSA-220, NSA-220 PLUS' = '' ']'
+ echo Zy-Model: NSA-320, NSA-220, NSA-220 $'PLUS\r'
+ read line
++ StripLeadingAndTrailingSpaces 'IsBuiltin: Y'
++ '[' -z 'IsBuiltin: Y' ']'
++ echo 'IsBuiltin: Y'
+ line='IsBuiltin: Y'
+ '[' 'IsBuiltin: Y' = '' ']'
+ echo IsBuiltin: $'Y\r'
+ read line
++ StripLeadingAndTrailingSpaces 'TreeLocation: Applications:pyLoad'
++ '[' -z 'TreeLocation: Applications:pyLoad' ']'
++ echo 'TreeLocation: Applications:pyLoad'
+ line='TreeLocation: Applications:pyLoad'
+ '[' 'TreeLocation: Applications:pyLoad' = '' ']'
+ echo TreeLocation: $'Applications:pyLoad\r'
+ read line
++ StripLeadingAndTrailingSpaces 'ZyURL: pyLoad/pyLoad.html'
++ '[' -z 'ZyURL: pyLoad/pyLoad.html' ']'
++ echo 'ZyURL: pyLoad/pyLoad.html'
+ line='ZyURL: pyLoad/pyLoad.html'
+ '[' 'ZyURL: pyLoad/pyLoad.html' = '' ']'
+ echo ZyURL: $'pyLoad/pyLoad.html\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Filename: pyLoad_0.4.9_arm_005.zpkg'
++ '[' -z 'Filename: pyLoad_0.4.9_arm_005.zpkg' ']'
++ echo 'Filename: pyLoad_0.4.9_arm_005.zpkg'
+ line='Filename: pyLoad_0.4.9_arm_005.zpkg'
+ '[' 'Filename: pyLoad_0.4.9_arm_005.zpkg' = '' ']'
+ echo Filename: $'pyLoad_0.4.9_arm_005.zpkg\r'
+ read line
++ StripLeadingAndTrailingSpaces 'MD5SUM: d044068557692679adba43490963df1c'
++ '[' -z 'MD5SUM: d044068557692679adba43490963df1c' ']'
++ echo 'MD5SUM: d044068557692679adba43490963df1c'
+ line='MD5SUM: d044068557692679adba43490963df1c'
+ '[' 'MD5SUM: d044068557692679adba43490963df1c' = '' ']'
+ echo MD5SUM: $'d044068557692679adba43490963df1c\r'
+ read line
++ StripLeadingAndTrailingSpaces $'\r'
++ '[' -z $'\r' ']'
++ echo $'\r'
+ line=$'\r'
+ '[' $'\r' = '' ']'
+ echo $'\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Package: SMART'
++ '[' -z 'Package: SMART' ']'
++ echo 'Package: SMART'
+ line='Package: SMART'
+ '[' 'Package: SMART' = '' ']'
+ echo Package: $'SMART\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Version: 6.2zypkg007'
++ '[' -z 'Version: 6.2zypkg007' ']'
++ echo 'Version: 6.2zypkg007'
+ line='Version: 6.2zypkg007'
+ '[' 'Version: 6.2zypkg007' = '' ']'
+ echo Version: $'6.2zypkg007\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Description: Use S.M.A.R.T. (Self Monitoring, Analysis, and Reporting Technology) to monitor hard disks. It notifies you ahead of time of any issues that can result to the hard disk'\''s poor performance or failure.'
++ '[' -z 'Description: Use S.M.A.R.T. (Self Monitoring, Analysis, and Reporting Technology) to monitor hard disks. It notifies you ahead of time of any issues that can result to the hard disk'\''s poor performance or failure.' ']'
++ echo 'Description: Use S.M.A.R.T. (Self Monitoring, Analysis, and Reporting Technology) to monitor hard disks. It notifies you ahead of time of any issues that can result to the hard disk'\''s poor performance or failure.'
+ line='Description: Use S.M.A.R.T. (Self Monitoring, Analysis, and Reporting Technology) to monitor hard disks. It notifies you ahead of time of any issues that can result to the hard disk'\''s poor performance or failure.'
+ '[' 'Description: Use S.M.A.R.T. (Self Monitoring, Analysis, and Reporting Technology) to monitor hard disks. It notifies you ahead of time of any issues that can result to the hard disk'\''s poor performance or failure.' = '' ']'
+ echo Description: Use S.M.A.R.T. '(Self' Monitoring, Analysis, and Reporting 'Technology)' to monitor hard disks. It notifies you ahead of time of any issues that can result to the hard 'disk'\''s' poor performance or $'failure.\r'
+ read line
++ StripLeadingAndTrailingSpaces $'Depends:\r'
++ '[' -z $'Depends:\r' ']'
++ echo $'Depends:\r'
+ line=$'Depends:\r'
+ '[' $'Depends:\r' = '' ']'
+ echo $'Depends:\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Size: 358653'
++ '[' -z 'Size: 358653' ']'
++ echo 'Size: 358653'
+ line='Size: 358653'
+ '[' 'Size: 358653' = '' ']'
+ echo Size: $'358653\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Installed-Size: 1065058'
++ '[' -z 'Installed-Size: 1065058' ']'
++ echo 'Installed-Size: 1065058'
+ line='Installed-Size: 1065058'
+ '[' 'Installed-Size: 1065058' = '' ']'
+ echo Installed-Size: $'1065058\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Architecture: arm'
++ '[' -z 'Architecture: arm' ']'
++ echo 'Architecture: arm'
+ line='Architecture: arm'
+ '[' 'Architecture: arm' = '' ']'
+ echo Architecture: $'arm\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Zy-Model: NSA-220, NSA-220 PLUS, NSA210, NSA221'
++ '[' -z 'Zy-Model: NSA-220, NSA-220 PLUS, NSA210, NSA221' ']'
++ echo 'Zy-Model: NSA-220, NSA-220 PLUS, NSA210, NSA221'
+ line='Zy-Model: NSA-220, NSA-220 PLUS, NSA210, NSA221'
+ '[' 'Zy-Model: NSA-220, NSA-220 PLUS, NSA210, NSA221' = '' ']'
+ echo Zy-Model: NSA-220, NSA-220 PLUS, NSA210, $'NSA221\r'
+ read line
++ StripLeadingAndTrailingSpaces 'IsBuiltin: Y'
++ '[' -z 'IsBuiltin: Y' ']'
++ echo 'IsBuiltin: Y'
+ line='IsBuiltin: Y'
+ '[' 'IsBuiltin: Y' = '' ']'
+ echo IsBuiltin: $'Y\r'
+ read line
++ StripLeadingAndTrailingSpaces 'TreeLocation: Storage:S.M.A.R.T'
++ '[' -z 'TreeLocation: Storage:S.M.A.R.T' ']'
++ echo 'TreeLocation: Storage:S.M.A.R.T'
+ line='TreeLocation: Storage:S.M.A.R.T'
+ '[' 'TreeLocation: Storage:S.M.A.R.T' = '' ']'
+ echo TreeLocation: $'Storage:S.M.A.R.T\r'
+ read line
++ StripLeadingAndTrailingSpaces 'ZyURL: SMART/storage_smart.html'
++ '[' -z 'ZyURL: SMART/storage_smart.html' ']'
++ echo 'ZyURL: SMART/storage_smart.html'
+ line='ZyURL: SMART/storage_smart.html'
+ '[' 'ZyURL: SMART/storage_smart.html' = '' ']'
+ echo ZyURL: $'SMART/storage_smart.html\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Filename: SMART_6.2_arm_007.zpkg'
++ '[' -z 'Filename: SMART_6.2_arm_007.zpkg' ']'
++ echo 'Filename: SMART_6.2_arm_007.zpkg'
+ line='Filename: SMART_6.2_arm_007.zpkg'
+ '[' 'Filename: SMART_6.2_arm_007.zpkg' = '' ']'
+ echo Filename: $'SMART_6.2_arm_007.zpkg\r'
+ read line
++ StripLeadingAndTrailingSpaces 'MD5SUM: 355290f52177a02ea0f993beceb13629'
++ '[' -z 'MD5SUM: 355290f52177a02ea0f993beceb13629' ']'
++ echo 'MD5SUM: 355290f52177a02ea0f993beceb13629'
+ line='MD5SUM: 355290f52177a02ea0f993beceb13629'
+ '[' 'MD5SUM: 355290f52177a02ea0f993beceb13629' = '' ']'
+ echo MD5SUM: $'355290f52177a02ea0f993beceb13629\r'
+ read line
++ StripLeadingAndTrailingSpaces $'\r'
++ '[' -z $'\r' ']'
++ echo $'\r'
+ line=$'\r'
+ '[' $'\r' = '' ']'
+ echo $'\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Package: SqueezeCenter'
++ '[' -z 'Package: SqueezeCenter' ']'
++ echo 'Package: SqueezeCenter'
+ line='Package: SqueezeCenter'
+ '[' 'Package: SqueezeCenter' = '' ']'
+ echo Package: $'SqueezeCenter\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Version: 7.7zypkg006'
++ '[' -z 'Version: 7.7zypkg006' ']'
++ echo 'Version: 7.7zypkg006'
+ line='Version: 7.7zypkg006'
+ '[' 'Version: 7.7zypkg006' = '' ']'
+ echo Version: $'7.7zypkg006\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Description: This enables you to manage a Logitech'\''s Squeezebox device connected to the NSA.'
++ '[' -z 'Description: This enables you to manage a Logitech'\''s Squeezebox device connected to the NSA.' ']'
++ echo 'Description: This enables you to manage a Logitech'\''s Squeezebox device connected to the NSA.'
+ line='Description: This enables you to manage a Logitech'\''s Squeezebox device connected to the NSA.'
+ '[' 'Description: This enables you to manage a Logitech'\''s Squeezebox device connected to the NSA.' = '' ']'
+ echo Description: This enables you to manage a 'Logitech'\''s' Squeezebox device connected to the $'NSA.\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Depends: PHP-MySQL-phpMyAdmin'
++ '[' -z 'Depends: PHP-MySQL-phpMyAdmin' ']'
++ echo 'Depends: PHP-MySQL-phpMyAdmin'
+ line='Depends: PHP-MySQL-phpMyAdmin'
+ '[' 'Depends: PHP-MySQL-phpMyAdmin' = '' ']'
+ echo Depends: $'PHP-MySQL-phpMyAdmin\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Size: 43530047'
++ '[' -z 'Size: 43530047' ']'
++ echo 'Size: 43530047'
+ line='Size: 43530047'
+ '[' 'Size: 43530047' = '' ']'
+ echo Size: $'43530047\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Installed-Size: 44185986'
++ '[' -z 'Installed-Size: 44185986' ']'
++ echo 'Installed-Size: 44185986'
+ line='Installed-Size: 44185986'
+ '[' 'Installed-Size: 44185986' = '' ']'
+ echo Installed-Size: $'44185986\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Architecture: arm'
++ '[' -z 'Architecture: arm' ']'
++ echo 'Architecture: arm'
+ line='Architecture: arm'
+ '[' 'Architecture: arm' = '' ']'
+ echo Architecture: $'arm\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Zy-Model: NSA-220, NSA-220 PLUS, NSA-310'
++ '[' -z 'Zy-Model: NSA-220, NSA-220 PLUS, NSA-310' ']'
++ echo 'Zy-Model: NSA-220, NSA-220 PLUS, NSA-310'
+ line='Zy-Model: NSA-220, NSA-220 PLUS, NSA-310'
+ '[' 'Zy-Model: NSA-220, NSA-220 PLUS, NSA-310' = '' ']'
+ echo Zy-Model: NSA-220, NSA-220 PLUS, $'NSA-310\r'
+ read line
++ StripLeadingAndTrailingSpaces 'IsBuiltin: N'
++ '[' -z 'IsBuiltin: N' ']'
++ echo 'IsBuiltin: N'
+ line='IsBuiltin: N'
+ '[' 'IsBuiltin: N' = '' ']'
+ echo IsBuiltin: $'N\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Filename: SqueezeCenter_7.7_arm_006.zpkg'
++ '[' -z 'Filename: SqueezeCenter_7.7_arm_006.zpkg' ']'
++ echo 'Filename: SqueezeCenter_7.7_arm_006.zpkg'
+ line='Filename: SqueezeCenter_7.7_arm_006.zpkg'
+ '[' 'Filename: SqueezeCenter_7.7_arm_006.zpkg' = '' ']'
+ echo Filename: $'SqueezeCenter_7.7_arm_006.zpkg\r'
+ read line
++ StripLeadingAndTrailingSpaces 'MD5SUM: 9fba47c64cab7fa116a96ba710d85ed4'
++ '[' -z 'MD5SUM: 9fba47c64cab7fa116a96ba710d85ed4' ']'
++ echo 'MD5SUM: 9fba47c64cab7fa116a96ba710d85ed4'
+ line='MD5SUM: 9fba47c64cab7fa116a96ba710d85ed4'
+ '[' 'MD5SUM: 9fba47c64cab7fa116a96ba710d85ed4' = '' ']'
+ echo MD5SUM: $'9fba47c64cab7fa116a96ba710d85ed4\r'
+ read line
++ StripLeadingAndTrailingSpaces $'\r'
++ '[' -z $'\r' ']'
++ echo $'\r'
+ line=$'\r'
+ '[' $'\r' = '' ']'
+ echo $'\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Package: SSH'
++ '[' -z 'Package: SSH' ']'
++ echo 'Package: SSH'
+ line='Package: SSH'
+ '[' 'Package: SSH' = '' ']'
+ echo Package: $'SSH\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Version: 6.7zypkg001'
++ '[' -z 'Version: 6.7zypkg001' ']'
++ echo 'Version: 6.7zypkg001'
+ line='Version: 6.7zypkg001'
+ '[' 'Version: 6.7zypkg001' = '' ']'
+ echo Version: $'6.7zypkg001\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Description: SSH (Secure Shell) access lets you use line commands with a cryptographic network protocol to configure the NSA.'
++ '[' -z 'Description: SSH (Secure Shell) access lets you use line commands with a cryptographic network protocol to configure the NSA.' ']'
++ echo 'Description: SSH (Secure Shell) access lets you use line commands with a cryptographic network protocol to configure the NSA.'
+ line='Description: SSH (Secure Shell) access lets you use line commands with a cryptographic network protocol to configure the NSA.'
+ '[' 'Description: SSH (Secure Shell) access lets you use line commands with a cryptographic network protocol to configure the NSA.' = '' ']'
+ echo Description: SSH '(Secure' 'Shell)' access lets you use line commands with a cryptographic network protocol to configure the $'NSA.\r'
+ read line
++ StripLeadingAndTrailingSpaces $'Depends:\r'
++ '[' -z $'Depends:\r' ']'
++ echo $'Depends:\r'
+ line=$'Depends:\r'
+ '[' $'Depends:\r' = '' ']'
+ echo $'Depends:\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Size: 884649'
++ '[' -z 'Size: 884649' ']'
++ echo 'Size: 884649'
+ line='Size: 884649'
+ '[' 'Size: 884649' = '' ']'
+ echo Size: $'884649\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Installed-Size: 2111971'
++ '[' -z 'Installed-Size: 2111971' ']'
++ echo 'Installed-Size: 2111971'
+ line='Installed-Size: 2111971'
+ '[' 'Installed-Size: 2111971' = '' ']'
+ echo Installed-Size: $'2111971\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Architecture: arm'
++ '[' -z 'Architecture: arm' ']'
++ echo 'Architecture: arm'
+ line='Architecture: arm'
+ '[' 'Architecture: arm' = '' ']'
+ echo Architecture: $'arm\r'
+ read line
++ StripLeadingAndTrailingSpaces $'Zy-Model:\r'
++ '[' -z $'Zy-Model:\r' ']'
++ echo $'Zy-Model:\r'
+ line=$'Zy-Model:\r'
+ '[' $'Zy-Model:\r' = '' ']'
+ echo $'Zy-Model:\r'
+ read line
++ StripLeadingAndTrailingSpaces 'IsBuiltin: Y'
++ '[' -z 'IsBuiltin: Y' ']'
++ echo 'IsBuiltin: Y'
+ line='IsBuiltin: Y'
+ '[' 'IsBuiltin: Y' = '' ']'
+ echo IsBuiltin: $'Y\r'
+ read line
++ StripLeadingAndTrailingSpaces 'TreeLocation: Network:SSH'
++ '[' -z 'TreeLocation: Network:SSH' ']'
++ echo 'TreeLocation: Network:SSH'
+ line='TreeLocation: Network:SSH'
+ '[' 'TreeLocation: Network:SSH' = '' ']'
+ echo TreeLocation: $'Network:SSH\r'
+ read line
++ StripLeadingAndTrailingSpaces 'ZyURL: SSH/net_ssh.html'
++ '[' -z 'ZyURL: SSH/net_ssh.html' ']'
++ echo 'ZyURL: SSH/net_ssh.html'
+ line='ZyURL: SSH/net_ssh.html'
+ '[' 'ZyURL: SSH/net_ssh.html' = '' ']'
+ echo ZyURL: $'SSH/net_ssh.html\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Filename: SSH_6.7_arm_001.zpkg'
++ '[' -z 'Filename: SSH_6.7_arm_001.zpkg' ']'
++ echo 'Filename: SSH_6.7_arm_001.zpkg'
+ line='Filename: SSH_6.7_arm_001.zpkg'
+ '[' 'Filename: SSH_6.7_arm_001.zpkg' = '' ']'
+ echo Filename: $'SSH_6.7_arm_001.zpkg\r'
+ read line
++ StripLeadingAndTrailingSpaces 'MD5SUM: 9c101aadb99dba421f05af21287aa699'
++ '[' -z 'MD5SUM: 9c101aadb99dba421f05af21287aa699' ']'
++ echo 'MD5SUM: 9c101aadb99dba421f05af21287aa699'
+ line='MD5SUM: 9c101aadb99dba421f05af21287aa699'
+ '[' 'MD5SUM: 9c101aadb99dba421f05af21287aa699' = '' ']'
+ echo MD5SUM: $'9c101aadb99dba421f05af21287aa699\r'
+ read line
++ StripLeadingAndTrailingSpaces $'\r'
++ '[' -z $'\r' ']'
++ echo $'\r'
+ line=$'\r'
+ '[' $'\r' = '' ']'
+ echo $'\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Package: Syslog'
++ '[' -z 'Package: Syslog' ']'
++ echo 'Package: Syslog'
+ line='Package: Syslog'
+ '[' 'Package: Syslog' = '' ']'
+ echo Package: $'Syslog\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Version: 2.0.10zypkg004'
++ '[' -z 'Version: 2.0.10zypkg004' ']'
++ echo 'Version: 2.0.10zypkg004'
+ line='Version: 2.0.10zypkg004'
+ '[' 'Version: 2.0.10zypkg004' = '' ']'
+ echo Version: $'2.0.10zypkg004\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Description: The syslog protocol allows devices to send logs across an IP network to syslog servers where they can be stored for later analysis.'
++ '[' -z 'Description: The syslog protocol allows devices to send logs across an IP network to syslog servers where they can be stored for later analysis.' ']'
++ echo 'Description: The syslog protocol allows devices to send logs across an IP network to syslog servers where they can be stored for later analysis.'
+ line='Description: The syslog protocol allows devices to send logs across an IP network to syslog servers where they can be stored for later analysis.'
+ '[' 'Description: The syslog protocol allows devices to send logs across an IP network to syslog servers where they can be stored for later analysis.' = '' ']'
+ echo Description: The syslog protocol allows devices to send logs across an IP network to syslog servers where they can be stored for later $'analysis.\r'
+ read line
++ StripLeadingAndTrailingSpaces $'Depends:\r'
++ '[' -z $'Depends:\r' ']'
++ echo $'Depends:\r'
+ line=$'Depends:\r'
+ '[' $'Depends:\r' = '' ']'
+ echo $'Depends:\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Size: 307200'
++ '[' -z 'Size: 307200' ']'
++ echo 'Size: 307200'
+ line='Size: 307200'
+ '[' 'Size: 307200' = '' ']'
+ echo Size: $'307200\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Installed-Size: 1048576'
++ '[' -z 'Installed-Size: 1048576' ']'
++ echo 'Installed-Size: 1048576'
+ line='Installed-Size: 1048576'
+ '[' 'Installed-Size: 1048576' = '' ']'
+ echo Installed-Size: $'1048576\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Architecture: arm'
++ '[' -z 'Architecture: arm' ']'
++ echo 'Architecture: arm'
+ line='Architecture: arm'
+ '[' 'Architecture: arm' = '' ']'
+ echo Architecture: $'arm\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Zy-Model: NSA-220, NSA-220 PLUS, NSA210, NSA221, NSA320'
++ '[' -z 'Zy-Model: NSA-220, NSA-220 PLUS, NSA210, NSA221, NSA320' ']'
++ echo 'Zy-Model: NSA-220, NSA-220 PLUS, NSA210, NSA221, NSA320'
+ line='Zy-Model: NSA-220, NSA-220 PLUS, NSA210, NSA221, NSA320'
+ '[' 'Zy-Model: NSA-220, NSA-220 PLUS, NSA210, NSA221, NSA320' = '' ']'
+ echo Zy-Model: NSA-220, NSA-220 PLUS, NSA210, NSA221, $'NSA320\r'
+ read line
++ StripLeadingAndTrailingSpaces 'IsBuiltin: Y'
++ '[' -z 'IsBuiltin: Y' ']'
++ echo 'IsBuiltin: Y'
+ line='IsBuiltin: Y'
+ '[' 'IsBuiltin: Y' = '' ']'
+ echo IsBuiltin: $'Y\r'
+ read line
++ StripLeadingAndTrailingSpaces 'TreeLocation: Applications:Syslog Server'
++ '[' -z 'TreeLocation: Applications:Syslog Server' ']'
++ echo 'TreeLocation: Applications:Syslog Server'
+ line='TreeLocation: Applications:Syslog Server'
+ '[' 'TreeLocation: Applications:Syslog Server' = '' ']'
+ echo TreeLocation: Applications:Syslog $'Server\r'
+ read line
++ StripLeadingAndTrailingSpaces 'ZyURL: Syslog/apps_syslog.html'
++ '[' -z 'ZyURL: Syslog/apps_syslog.html' ']'
++ echo 'ZyURL: Syslog/apps_syslog.html'
+ line='ZyURL: Syslog/apps_syslog.html'
+ '[' 'ZyURL: Syslog/apps_syslog.html' = '' ']'
+ echo ZyURL: $'Syslog/apps_syslog.html\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Filename: Syslog_2.0.10_arm_004.zpkg'
++ '[' -z 'Filename: Syslog_2.0.10_arm_004.zpkg' ']'
++ echo 'Filename: Syslog_2.0.10_arm_004.zpkg'
+ line='Filename: Syslog_2.0.10_arm_004.zpkg'
+ '[' 'Filename: Syslog_2.0.10_arm_004.zpkg' = '' ']'
+ echo Filename: $'Syslog_2.0.10_arm_004.zpkg\r'
+ read line
++ StripLeadingAndTrailingSpaces 'MD5SUM: e6063f79699a581ef983f6b7b01b2aa5'
++ '[' -z 'MD5SUM: e6063f79699a581ef983f6b7b01b2aa5' ']'
++ echo 'MD5SUM: e6063f79699a581ef983f6b7b01b2aa5'
+ line='MD5SUM: e6063f79699a581ef983f6b7b01b2aa5'
+ '[' 'MD5SUM: e6063f79699a581ef983f6b7b01b2aa5' = '' ']'
+ echo MD5SUM: $'e6063f79699a581ef983f6b7b01b2aa5\r'
+ read line
++ StripLeadingAndTrailingSpaces $'\r'
++ '[' -z $'\r' ']'
++ echo $'\r'
+ line=$'\r'
+ '[' $'\r' = '' ']'
+ echo $'\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Package: Tftp'
++ '[' -z 'Package: Tftp' ']'
++ echo 'Package: Tftp'
+ line='Package: Tftp'
+ '[' 'Package: Tftp' = '' ']'
+ echo Package: $'Tftp\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Version: 0.7zypkg002'
++ '[' -z 'Version: 0.7zypkg002' ']'
++ echo 'Version: 0.7zypkg002'
+ line='Version: 0.7zypkg002'
+ '[' 'Version: 0.7zypkg002' = '' ']'
+ echo Version: $'0.7zypkg002\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Description: Trivial File Transfer Protocol (TFTP) is an Internet file transfer protocol that uses port number 69. It is similar to FTP but uses the UDP (User Datagram Protocol) rather than TCP (Transmission Control Protocol). It cannot list directories nor authenticate users.'
++ '[' -z 'Description: Trivial File Transfer Protocol (TFTP) is an Internet file transfer protocol that uses port number 69. It is similar to FTP but uses the UDP (User Datagram Protocol) rather than TCP (Transmission Control Protocol). It cannot list directories nor authenticate users.' ']'
++ echo 'Description: Trivial File Transfer Protocol (TFTP) is an Internet file transfer protocol that uses port number 69. It is similar to FTP but uses the UDP (User Datagram Protocol) rather than TCP (Transmission Control Protocol). It cannot list directories nor authenticate users.'
+ line='Description: Trivial File Transfer Protocol (TFTP) is an Internet file transfer protocol that uses port number 69. It is similar to FTP but uses the UDP (User Datagram Protocol) rather than TCP (Transmission Control Protocol). It cannot list directories nor authenticate users.'
+ '[' 'Description: Trivial File Transfer Protocol (TFTP) is an Internet file transfer protocol that uses port number 69. It is similar to FTP but uses the UDP (User Datagram Protocol) rather than TCP (Transmission Control Protocol). It cannot list directories nor authenticate users.' = '' ']'
+ echo Description: Trivial File Transfer Protocol '(TFTP)' is an Internet file transfer protocol that uses port number 69. It is similar to FTP but uses the UDP '(User' Datagram 'Protocol)' rather than TCP '(Transmission' Control 'Protocol).' It cannot list directories nor authenticate $'users.\r'
+ read line
++ StripLeadingAndTrailingSpaces $'Depends:\r'
++ '[' -z $'Depends:\r' ']'
++ echo $'Depends:\r'
+ line=$'Depends:\r'
+ '[' $'Depends:\r' = '' ']'
+ echo $'Depends:\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Size: 307200'
++ '[' -z 'Size: 307200' ']'
++ echo 'Size: 307200'
+ line='Size: 307200'
+ '[' 'Size: 307200' = '' ']'
+ echo Size: $'307200\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Installed-Size: 1048576'
++ '[' -z 'Installed-Size: 1048576' ']'
++ echo 'Installed-Size: 1048576'
+ line='Installed-Size: 1048576'
+ '[' 'Installed-Size: 1048576' = '' ']'
+ echo Installed-Size: $'1048576\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Architecture: arm'
++ '[' -z 'Architecture: arm' ']'
++ echo 'Architecture: arm'
+ line='Architecture: arm'
+ '[' 'Architecture: arm' = '' ']'
+ echo Architecture: $'arm\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Zy-Model: NSA-220, NSA-220 PLUS, NSA210, NSA221, NSA320'
++ '[' -z 'Zy-Model: NSA-220, NSA-220 PLUS, NSA210, NSA221, NSA320' ']'
++ echo 'Zy-Model: NSA-220, NSA-220 PLUS, NSA210, NSA221, NSA320'
+ line='Zy-Model: NSA-220, NSA-220 PLUS, NSA210, NSA221, NSA320'
+ '[' 'Zy-Model: NSA-220, NSA-220 PLUS, NSA210, NSA221, NSA320' = '' ']'
+ echo Zy-Model: NSA-220, NSA-220 PLUS, NSA210, NSA221, $'NSA320\r'
+ read line
++ StripLeadingAndTrailingSpaces 'IsBuiltin: Y'
++ '[' -z 'IsBuiltin: Y' ']'
++ echo 'IsBuiltin: Y'
+ line='IsBuiltin: Y'
+ '[' 'IsBuiltin: Y' = '' ']'
+ echo IsBuiltin: $'Y\r'
+ read line
++ StripLeadingAndTrailingSpaces 'TreeLocation: Applications:TFTP Server'
++ '[' -z 'TreeLocation: Applications:TFTP Server' ']'
++ echo 'TreeLocation: Applications:TFTP Server'
+ line='TreeLocation: Applications:TFTP Server'
+ '[' 'TreeLocation: Applications:TFTP Server' = '' ']'
+ echo TreeLocation: Applications:TFTP $'Server\r'
+ read line
++ StripLeadingAndTrailingSpaces 'ZyURL: Tftp/apps_tftp.html'
++ '[' -z 'ZyURL: Tftp/apps_tftp.html' ']'
++ echo 'ZyURL: Tftp/apps_tftp.html'
+ line='ZyURL: Tftp/apps_tftp.html'
+ '[' 'ZyURL: Tftp/apps_tftp.html' = '' ']'
+ echo ZyURL: $'Tftp/apps_tftp.html\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Filename: Tftp_0.7_arm_002.zpkg'
++ '[' -z 'Filename: Tftp_0.7_arm_002.zpkg' ']'
++ echo 'Filename: Tftp_0.7_arm_002.zpkg'
+ line='Filename: Tftp_0.7_arm_002.zpkg'
+ '[' 'Filename: Tftp_0.7_arm_002.zpkg' = '' ']'
+ echo Filename: $'Tftp_0.7_arm_002.zpkg\r'
+ read line
++ StripLeadingAndTrailingSpaces 'MD5SUM: 26026ef2332a08ef8ad8b97b5c00c4e4'
++ '[' -z 'MD5SUM: 26026ef2332a08ef8ad8b97b5c00c4e4' ']'
++ echo 'MD5SUM: 26026ef2332a08ef8ad8b97b5c00c4e4'
+ line='MD5SUM: 26026ef2332a08ef8ad8b97b5c00c4e4'
+ '[' 'MD5SUM: 26026ef2332a08ef8ad8b97b5c00c4e4' = '' ']'
+ echo MD5SUM: $'26026ef2332a08ef8ad8b97b5c00c4e4\r'
+ read line
++ StripLeadingAndTrailingSpaces $'\r'
++ '[' -z $'\r' ']'
++ echo $'\r'
+ line=$'\r'
+ '[' $'\r' = '' ']'
+ echo $'\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Package: Transmission'
++ '[' -z 'Package: Transmission' ']'
++ echo 'Package: Transmission'
+ line='Package: Transmission'
+ '[' 'Package: Transmission' = '' ']'
+ echo Package: $'Transmission\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Version: 2.82zypkg003'
++ '[' -z 'Version: 2.82zypkg003' ']'
++ echo 'Version: 2.82zypkg003'
+ line='Version: 2.82zypkg003'
+ '[' 'Version: 2.82zypkg003' = '' ']'
+ echo Version: $'2.82zypkg003\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Description: This package is another BT download client which supports torrent and magnet.'
++ '[' -z 'Description: This package is another BT download client which supports torrent and magnet.' ']'
++ echo 'Description: This package is another BT download client which supports torrent and magnet.'
+ line='Description: This package is another BT download client which supports torrent and magnet.'
+ '[' 'Description: This package is another BT download client which supports torrent and magnet.' = '' ']'
+ echo Description: This package is another BT download client which supports torrent and $'magnet.\r'
+ read line
++ StripLeadingAndTrailingSpaces $'Depends:\r'
++ '[' -z $'Depends:\r' ']'
++ echo $'Depends:\r'
+ line=$'Depends:\r'
+ '[' $'Depends:\r' = '' ']'
+ echo $'Depends:\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Size: 280088'
++ '[' -z 'Size: 280088' ']'
++ echo 'Size: 280088'
+ line='Size: 280088'
+ '[' 'Size: 280088' = '' ']'
+ echo Size: $'280088\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Installed-Size: 660608'
++ '[' -z 'Installed-Size: 660608' ']'
++ echo 'Installed-Size: 660608'
+ line='Installed-Size: 660608'
+ '[' 'Installed-Size: 660608' = '' ']'
+ echo Installed-Size: $'660608\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Architecture: arm'
++ '[' -z 'Architecture: arm' ']'
++ echo 'Architecture: arm'
+ line='Architecture: arm'
+ '[' 'Architecture: arm' = '' ']'
+ echo Architecture: $'arm\r'
+ read line
++ StripLeadingAndTrailingSpaces 'IsBuiltin: N'
++ '[' -z 'IsBuiltin: N' ']'
++ echo 'IsBuiltin: N'
+ line='IsBuiltin: N'
+ '[' 'IsBuiltin: N' = '' ']'
+ echo IsBuiltin: $'N\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Zy-Model: '
++ '[' -z 'Zy-Model: ' ']'
++ echo 'Zy-Model: '
+ line='Zy-Model: '
+ '[' 'Zy-Model: ' = '' ']'
+ echo Zy-Model: $'\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Filename: Transmission_2.82_arm_003.zpkg'
++ '[' -z 'Filename: Transmission_2.82_arm_003.zpkg' ']'
++ echo 'Filename: Transmission_2.82_arm_003.zpkg'
+ line='Filename: Transmission_2.82_arm_003.zpkg'
+ '[' 'Filename: Transmission_2.82_arm_003.zpkg' = '' ']'
+ echo Filename: $'Transmission_2.82_arm_003.zpkg\r'
+ read line
++ StripLeadingAndTrailingSpaces 'MD5SUM: adeb93296a9b521ec200d10b37c80906'
++ '[' -z 'MD5SUM: adeb93296a9b521ec200d10b37c80906' ']'
++ echo 'MD5SUM: adeb93296a9b521ec200d10b37c80906'
+ line='MD5SUM: adeb93296a9b521ec200d10b37c80906'
+ '[' 'MD5SUM: adeb93296a9b521ec200d10b37c80906' = '' ']'
+ echo MD5SUM: $'adeb93296a9b521ec200d10b37c80906\r'
+ read line
++ StripLeadingAndTrailingSpaces $'\r'
++ '[' -z $'\r' ']'
++ echo $'\r'
+ line=$'\r'
+ '[' $'\r' = '' ']'
+ echo $'\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Package: WordPress'
++ '[' -z 'Package: WordPress' ']'
++ echo 'Package: WordPress'
+ line='Package: WordPress'
+ '[' 'Package: WordPress' = '' ']'
+ echo Package: $'WordPress\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Version: 3.6.1zypkg009'
++ '[' -z 'Version: 3.6.1zypkg009' ']'
++ echo 'Version: 3.6.1zypkg009'
+ line='Version: 3.6.1zypkg009'
+ '[' 'Version: 3.6.1zypkg009' = '' ']'
+ echo Version: $'3.6.1zypkg009\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Description: This allows you to create and manage a blog. Use the NSA administrator credentials to log in.'
++ '[' -z 'Description: This allows you to create and manage a blog. Use the NSA administrator credentials to log in.' ']'
++ echo 'Description: This allows you to create and manage a blog. Use the NSA administrator credentials to log in.'
+ line='Description: This allows you to create and manage a blog. Use the NSA administrator credentials to log in.'
+ '[' 'Description: This allows you to create and manage a blog. Use the NSA administrator credentials to log in.' = '' ']'
+ echo Description: This allows you to create and manage a blog. Use the NSA administrator credentials to log $'in.\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Depends: PHP-MySQL-phpMyAdmin'
++ '[' -z 'Depends: PHP-MySQL-phpMyAdmin' ']'
++ echo 'Depends: PHP-MySQL-phpMyAdmin'
+ line='Depends: PHP-MySQL-phpMyAdmin'
+ '[' 'Depends: PHP-MySQL-phpMyAdmin' = '' ']'
+ echo Depends: $'PHP-MySQL-phpMyAdmin\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Size: 4272128'
++ '[' -z 'Size: 4272128' ']'
++ echo 'Size: 4272128'
+ line='Size: 4272128'
+ '[' 'Size: 4272128' = '' ']'
+ echo Size: $'4272128\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Installed-Size: 15624520'
++ '[' -z 'Installed-Size: 15624520' ']'
++ echo 'Installed-Size: 15624520'
+ line='Installed-Size: 15624520'
+ '[' 'Installed-Size: 15624520' = '' ']'
+ echo Installed-Size: $'15624520\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Architecture: arm'
++ '[' -z 'Architecture: arm' ']'
++ echo 'Architecture: arm'
+ line='Architecture: arm'
+ '[' 'Architecture: arm' = '' ']'
+ echo Architecture: $'arm\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Zy-Model: NSA-220, NSA-220 PLUS, NSA210, NSA221'
++ '[' -z 'Zy-Model: NSA-220, NSA-220 PLUS, NSA210, NSA221' ']'
++ echo 'Zy-Model: NSA-220, NSA-220 PLUS, NSA210, NSA221'
+ line='Zy-Model: NSA-220, NSA-220 PLUS, NSA210, NSA221'
+ '[' 'Zy-Model: NSA-220, NSA-220 PLUS, NSA210, NSA221' = '' ']'
+ echo Zy-Model: NSA-220, NSA-220 PLUS, NSA210, $'NSA221\r'
+ read line
++ StripLeadingAndTrailingSpaces 'IsBuiltin: N'
++ '[' -z 'IsBuiltin: N' ']'
++ echo 'IsBuiltin: N'
+ line='IsBuiltin: N'
+ '[' 'IsBuiltin: N' = '' ']'
+ echo IsBuiltin: $'N\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Filename: WordPress_3.6.1_arm_009.zpkg'
++ '[' -z 'Filename: WordPress_3.6.1_arm_009.zpkg' ']'
++ echo 'Filename: WordPress_3.6.1_arm_009.zpkg'
+ line='Filename: WordPress_3.6.1_arm_009.zpkg'
+ '[' 'Filename: WordPress_3.6.1_arm_009.zpkg' = '' ']'
+ echo Filename: $'WordPress_3.6.1_arm_009.zpkg\r'
+ read line
++ StripLeadingAndTrailingSpaces 'MD5SUM: 5f65e14fefc3f588875f7fa21cd7a91e'
++ '[' -z 'MD5SUM: 5f65e14fefc3f588875f7fa21cd7a91e' ']'
++ echo 'MD5SUM: 5f65e14fefc3f588875f7fa21cd7a91e'
+ line='MD5SUM: 5f65e14fefc3f588875f7fa21cd7a91e'
+ '[' 'MD5SUM: 5f65e14fefc3f588875f7fa21cd7a91e' = '' ']'
+ echo MD5SUM: $'5f65e14fefc3f588875f7fa21cd7a91e\r'
+ read line
++ StripLeadingAndTrailingSpaces $'\r'
++ '[' -z $'\r' ']'
++ echo $'\r'
+ line=$'\r'
+ '[' $'\r' = '' ']'
+ echo $'\r'
+ read line
+ HandlePackage /i-data/md0/admin/zy-pkgs/MetaRepository/http___zyxel.diskstation.eu_Users_Mijzelf_zypkg-repo_fw4_stock_packages_/tmp 1 9 Stock
+ '[' '!' -f /i-data/md0/admin/zy-pkgs/MetaRepository/http___zyxel.diskstation.eu_Users_Mijzelf_zypkg-repo_fw4_stock_packages_/tmp ']'
+ echo -n 'HandlePackage /i-data/md0/admin/zy-pkgs/MetaRepository/http___zyxel.diskstation.eu_Users_Mijzelf_zypkg-repo_fw4_stock_packages_/tmp' 1 9 'Stock '
HandlePackage /i-data/md0/admin/zy-pkgs/MetaRepository/http___zyxel.diskstation.eu_Users_Mijzelf_zypkg-repo_fw4_stock_packages_/tmp 1 9 Stock ++ grep '^Package' /i-data/md0/admin/zy-pkgs/MetaRepository/http___zyxel.diskstation.eu_Users_Mijzelf_zypkg-repo_fw4_stock_packages_/tmp
++ cut -d ' ' -f 2
+ local 'package=BackupPlanner
DyDNS
eMule
gallery
GoogleDriveClient
Memopal
myZyXELcloud-Agent
NFS
NZBGet
ownCloud
PHP-MySQL-phpMyAdmin
Polkast
pyLoad
SMART
SqueezeCenter
SSH
Syslog
Tftp
Transmission
WordPress
BackupPlanner
DyDNS
eMule
gallery
GoogleDriveClient
Memopal
myZyXELcloud-Agent
NFS
NZBGet
ownCloud
PHP-MySQL-phpMyAdmin
Polkast
pyLoad
SMART
SqueezeCenter
SSH
Syslog
Tftp
Transmission
WordPress
BackupPlanner
DyDNS
eMule
gallery
GoogleDriveClient
Memopal
myZyXELcloud-Agent
NFS
NZBGet
ownCloud
PHP-MySQL-phpMyAdmin
Polkast
pyLoad
SMART
SqueezeCenter
SSH
Syslog
Tftp
Transmission
WordPress'
++ grep '^Version' /i-data/md0/admin/zy-pkgs/MetaRepository/http___zyxel.diskstation.eu_Users_Mijzelf_zypkg-repo_fw4_stock_packages_/tmp
++ cut -d ' ' -f 2
+ local 'version=001zypkg013
001zypkg008
001zypkg008
3.0.4zypkg007
0.4.0zypkg002
2.4.4zypkg003
0.0.15zypkg0015
1.1.4zypkg005
11.0zypkg004
7.0.3zypkg003
2.0zypkg009
001zypkg0119
0.4.9zypkg005
6.2zypkg007
7.7zypkg006
6.7zypkg001
2.0.10zypkg004
0.7zypkg002
2.82zypkg003
3.6.1zypkg009
001zypkg013
001zypkg008
001zypkg008
3.0.4zypkg007
0.4.0zypkg002
2.4.4zypkg003
0.0.15zypkg0015
1.1.4zypkg005
11.0zypkg004
7.0.3zypkg003
2.0zypkg009
001zypkg0119
0.4.9zypkg005
6.2zypkg007
7.7zypkg006
6.7zypkg001
2.0.10zypkg004
0.7zypkg002
2.82zypkg003
3.6.1zypkg009
001zypkg013
001zypkg008
001zypkg008
3.0.4zypkg007
0.4.0zypkg002
2.4.4zypkg003
0.0.15zypkg0015
1.1.4zypkg005
11.0zypkg004
7.0.3zypkg003
2.0zypkg009
001zypkg0119
0.4.9zypkg005
6.2zypkg007
7.7zypkg006
6.7zypkg001
2.0.10zypkg004
0.7zypkg002
2.82zypkg003
3.6.1zypkg009'
++ echo $'001zypkg013\r' $'001zypkg008\r' $'001zypkg008\r' $'3.0.4zypkg007\r' $'0.4.0zypkg002\r' $'2.4.4zypkg003\r' $'0.0.15zypkg0015\r' $'1.1.4zypkg005\r' $'11.0zypkg004\r' $'7.0.3zypkg003\r' $'2.0zypkg009\r' $'001zypkg0119\r' $'0.4.9zypkg005\r' $'6.2zypkg007\r' $'7.7zypkg006\r' $'6.7zypkg001\r' $'2.0.10zypkg004\r' $'0.7zypkg002\r' $'2.82zypkg003\r' $'3.6.1zypkg009\r' $'001zypkg013\r' $'001zypkg008\r' $'001zypkg008\r' $'3.0.4zypkg007\r' $'0.4.0zypkg002\r' $'2.4.4zypkg003\r' $'0.0.15zypkg0015\r' $'1.1.4zypkg005\r' $'11.0zypkg004\r' $'7.0.3zypkg003\r' $'2.0zypkg009\r' $'001zypkg0119\r' $'0.4.9zypkg005\r' $'6.2zypkg007\r' $'7.7zypkg006\r' $'6.7zypkg001\r' $'2.0.10zypkg004\r' $'0.7zypkg002\r' $'2.82zypkg003\r' $'3.6.1zypkg009\r' $'001zypkg013\r' $'001zypkg008\r' $'001zypkg008\r' $'3.0.4zypkg007\r' $'0.4.0zypkg002\r' $'2.4.4zypkg003\r' $'0.0.15zypkg0015\r' $'1.1.4zypkg005\r' $'11.0zypkg004\r' $'7.0.3zypkg003\r' $'2.0zypkg009\r' $'001zypkg0119\r' $'0.4.9zypkg005\r' $'6.2zypkg007\r' $'7.7zypkg006\r' $'6.7zypkg001\r' $'2.0.10zypkg004\r' $'0.7zypkg002\r' $'2.82zypkg003\r' $'3.6.1zypkg009\r'
++ sed 's/pkg/ /'
++ cut -d ' ' -f 2
+ version=$'013\r'
++ grep '^Filename' /i-data/md0/admin/zy-pkgs/MetaRepository/http___zyxel.diskstation.eu_Users_Mijzelf_zypkg-repo_fw4_stock_packages_/tmp
++ cut -d ' ' -f 2
+ local 'filename=BackupPlanner_001_arm_013.zpkg
DyDNS_001_arm_008.zpkg
eMule_001_arm_008.zpkg
gallery_3.0.4_arm_007.zpkg
GoogleDriveClient_0.4.0_arm_002.zpkg
Memopal_2.4.4_arm_003.zpkg
myZyXELcloud-Agent_0.0.15_arm_0015.zpkg
NFS_1.1.4_arm_005.zpkg
NZBGet_11.0_arm_004.zpkg
ownCloud_7.0.3_arm_003.zpkg
PHP-MySQL-phpMyAdmin_2.0_arm_009.zpkg
Polkast_001_arm_0119.zpkg
pyLoad_0.4.9_arm_005.zpkg
SMART_6.2_arm_007.zpkg
SqueezeCenter_7.7_arm_006.zpkg
SSH_6.7_arm_001.zpkg
Syslog_2.0.10_arm_004.zpkg
Tftp_0.7_arm_002.zpkg
Transmission_2.82_arm_003.zpkg
WordPress_3.6.1_arm_009.zpkg
BackupPlanner_001_arm_013.zpkg
DyDNS_001_arm_008.zpkg
eMule_001_arm_008.zpkg
gallery_3.0.4_arm_007.zpkg
GoogleDriveClient_0.4.0_arm_002.zpkg
Memopal_2.4.4_arm_003.zpkg
myZyXELcloud-Agent_0.0.15_arm_0015.zpkg
NFS_1.1.4_arm_005.zpkg
NZBGet_11.0_arm_004.zpkg
ownCloud_7.0.3_arm_003.zpkg
PHP-MySQL-phpMyAdmin_2.0_arm_009.zpkg
Polkast_001_arm_0119.zpkg
pyLoad_0.4.9_arm_005.zpkg
SMART_6.2_arm_007.zpkg
SqueezeCenter_7.7_arm_006.zpkg
SSH_6.7_arm_001.zpkg
Syslog_2.0.10_arm_004.zpkg
Tftp_0.7_arm_002.zpkg
Transmission_2.82_arm_003.zpkg
WordPress_3.6.1_arm_009.zpkg
BackupPlanner_001_arm_013.zpkg
DyDNS_001_arm_008.zpkg
eMule_001_arm_008.zpkg
gallery_3.0.4_arm_007.zpkg
GoogleDriveClient_0.4.0_arm_002.zpkg
Memopal_2.4.4_arm_003.zpkg
myZyXELcloud-Agent_0.0.15_arm_0015.zpkg
NFS_1.1.4_arm_005.zpkg
NZBGet_11.0_arm_004.zpkg
ownCloud_7.0.3_arm_003.zpkg
PHP-MySQL-phpMyAdmin_2.0_arm_009.zpkg
Polkast_001_arm_0119.zpkg
pyLoad_0.4.9_arm_005.zpkg
SMART_6.2_arm_007.zpkg
SqueezeCenter_7.7_arm_006.zpkg
SSH_6.7_arm_001.zpkg
Syslog_2.0.10_arm_004.zpkg
Tftp_0.7_arm_002.zpkg
Transmission_2.82_arm_003.zpkg
WordPress_3.6.1_arm_009.zpkg'
+ '[' -z $'BackupPlanner_001_arm_013.zpkg\r' $'DyDNS_001_arm_008.zpkg\r' $'eMule_001_arm_008.zpkg\r' $'gallery_3.0.4_arm_007.zpkg\r' $'GoogleDriveClient_0.4.0_arm_002.zpkg\r' $'Memopal_2.4.4_arm_003.zpkg\r' $'myZyXELcloud-Agent_0.0.15_arm_0015.zpkg\r' $'NFS_1.1.4_arm_005.zpkg\r' $'NZBGet_11.0_arm_004.zpkg\r' $'ownCloud_7.0.3_arm_003.zpkg\r' $'PHP-MySQL-phpMyAdmin_2.0_arm_009.zpkg\r' $'Polkast_001_arm_0119.zpkg\r' $'pyLoad_0.4.9_arm_005.zpkg\r' $'SMART_6.2_arm_007.zpkg\r' $'SqueezeCenter_7.7_arm_006.zpkg\r' $'SSH_6.7_arm_001.zpkg\r' $'Syslog_2.0.10_arm_004.zpkg\r' $'Tftp_0.7_arm_002.zpkg\r' $'Transmission_2.82_arm_003.zpkg\r' $'WordPress_3.6.1_arm_009.zpkg\r' $'BackupPlanner_001_arm_013.zpkg\r' $'DyDNS_001_arm_008.zpkg\r' $'eMule_001_arm_008.zpkg\r' $'gallery_3.0.4_arm_007.zpkg\r' $'GoogleDriveClient_0.4.0_arm_002.zpkg\r' $'Memopal_2.4.4_arm_003.zpkg\r' $'myZyXELcloud-Agent_0.0.15_arm_0015.zpkg\r' $'NFS_1.1.4_arm_005.zpkg\r' $'NZBGet_11.0_arm_004.zpkg\r' $'ownCloud_7.0.3_arm_003.zpkg\r' $'PHP-MySQL-phpMyAdmin_2.0_arm_009.zpkg\r' $'Polkast_001_arm_0119.zpkg\r' $'pyLoad_0.4.9_arm_005.zpkg\r' $'SMART_6.2_arm_007.zpkg\r' $'SqueezeCenter_7.7_arm_006.zpkg\r' $'SSH_6.7_arm_001.zpkg\r' $'Syslog_2.0.10_arm_004.zpkg\r' $'Tftp_0.7_arm_002.zpkg\r' $'Transmission_2.82_arm_003.zpkg\r' $'WordPress_3.6.1_arm_009.zpkg\r' $'BackupPlanner_001_arm_013.zpkg\r' $'DyDNS_001_arm_008.zpkg\r' $'eMule_001_arm_008.zpkg\r' $'gallery_3.0.4_arm_007.zpkg\r' $'GoogleDriveClient_0.4.0_arm_002.zpkg\r' $'Memopal_2.4.4_arm_003.zpkg\r' $'myZyXELcloud-Agent_0.0.15_arm_0015.zpkg\r' $'NFS_1.1.4_arm_005.zpkg\r' $'NZBGet_11.0_arm_004.zpkg\r' $'ownCloud_7.0.3_arm_003.zpkg\r' $'PHP-MySQL-phpMyAdmin_2.0_arm_009.zpkg\r' $'Polkast_001_arm_0119.zpkg\r' $'pyLoad_0.4.9_arm_005.zpkg\r' $'SMART_6.2_arm_007.zpkg\r' $'SqueezeCenter_7.7_arm_006.zpkg\r' $'SSH_6.7_arm_001.zpkg\r' $'Syslog_2.0.10_arm_004.zpkg\r' $'Tftp_0.7_arm_002.zpkg\r' $'Transmission_2.82_arm_003.zpkg\r' $'WordPress_3.6.1_arm_009.zpkg\r' ']'
./ZYPKG_INFO.sh: line 59: [: too many arguments
++ dirname /i-data/md0/admin/zy-pkgs/MetaRepository/http___zyxel.diskstation.eu_Users_Mijzelf_zypkg-repo_fw4_stock_packages_/tmp
+ local dir=/i-data/md0/admin/zy-pkgs/MetaRepository/http___zyxel.diskstation.eu_Users_Mijzelf_zypkg-repo_fw4_stock_packages_
+ echo $'/i-data/md0/admin/zy-pkgs/MetaRepository/http___zyxel.diskstation.eu_Users_Mijzelf_zypkg-repo_fw4_stock_packages_/BackupPlanner_001_arm_013.zpkg\r' $'DyDNS_001_arm_008.zpkg\r' $'eMule_001_arm_008.zpkg\r' $'gallery_3.0.4_arm_007.zpkg\r' $'GoogleDriveClient_0.4.0_arm_002.zpkg\r' $'Memopal_2.4.4_arm_003.zpkg\r' $'myZyXELcloud-Agent_0.0.15_arm_0015.zpkg\r' $'NFS_1.1.4_arm_005.zpkg\r' $'NZBGet_11.0_arm_004.zpkg\r' $'ownCloud_7.0.3_arm_003.zpkg\r' $'PHP-MySQL-phpMyAdmin_2.0_arm_009.zpkg\r' $'Polkast_001_arm_0119.zpkg\r' $'pyLoad_0.4.9_arm_005.zpkg\r' $'SMART_6.2_arm_007.zpkg\r' $'SqueezeCenter_7.7_arm_006.zpkg\r' $'SSH_6.7_arm_001.zpkg\r' $'Syslog_2.0.10_arm_004.zpkg\r' $'Tftp_0.7_arm_002.zpkg\r' $'Transmission_2.82_arm_003.zpkg\r' $'WordPress_3.6.1_arm_009.zpkg\r' $'BackupPlanner_001_arm_013.zpkg\r' $'DyDNS_001_arm_008.zpkg\r' $'eMule_001_arm_008.zpkg\r' $'gallery_3.0.4_arm_007.zpkg\r' $'GoogleDriveClient_0.4.0_arm_002.zpkg\r' $'Memopal_2.4.4_arm_003.zpkg\r' $'myZyXELcloud-Agent_0.0.15_arm_0015.zpkg\r' $'NFS_1.1.4_arm_005.zpkg\r' $'NZBGet_11.0_arm_004.zpkg\r' $'ownCloud_7.0.3_arm_003.zpkg\r' $'PHP-MySQL-phpMyAdmin_2.0_arm_009.zpkg\r' $'Polkast_001_arm_0119.zpkg\r' $'pyLoad_0.4.9_arm_005.zpkg\r' $'SMART_6.2_arm_007.zpkg\r' $'SqueezeCenter_7.7_arm_006.zpkg\r' $'SSH_6.7_arm_001.zpkg\r' $'Syslog_2.0.10_arm_004.zpkg\r' $'Tftp_0.7_arm_002.zpkg\r' $'Transmission_2.82_arm_003.zpkg\r' $'WordPress_3.6.1_arm_009.zpkg\r' $'BackupPlanner_001_arm_013.zpkg\r' $'DyDNS_001_arm_008.zpkg\r' $'eMule_001_arm_008.zpkg\r' $'gallery_3.0.4_arm_007.zpkg\r' $'GoogleDriveClient_0.4.0_arm_002.zpkg\r' $'Memopal_2.4.4_arm_003.zpkg\r' $'myZyXELcloud-Agent_0.0.15_arm_0015.zpkg\r' $'NFS_1.1.4_arm_005.zpkg\r' $'NZBGet_11.0_arm_004.zpkg\r' $'ownCloud_7.0.3_arm_003.zpkg\r' $'PHP-MySQL-phpMyAdmin_2.0_arm_009.zpkg\r' $'Polkast_001_arm_0119.zpkg\r' $'pyLoad_0.4.9_arm_005.zpkg\r' $'SMART_6.2_arm_007.zpkg\r' $'SqueezeCenter_7.7_arm_006.zpkg\r' $'SSH_6.7_arm_001.zpkg\r' $'Syslog_2.0.10_arm_004.zpkg\r' $'Tftp_0.7_arm_002.zpkg\r' $'Transmission_2.82_arm_003.zpkg\r' $'WordPress_3.6.1_arm_009.zpkg\r'
/i-data/md0/admin/zy-pkgs/MetaRepository/http___zyxel.diskstation.eu_Users_Mijzelf_zypkg-repo_fw4_stock_packages_/BackupPlanner_001_arm_013.zpkg DyDNS_001_arm_008.zpkg eMule_001_arm_008.zpkg gallery_3.0.4_arm_007.zpkg GoogleDriveClient_0.4.0_arm_002.zpkg Memopal_2.4.4_arm_003.zpkg myZyXELcloud-Agent_0.0.15_arm_0015.zpkg NFS_1.1.4_arm_005.zpkg NZBGet_11.0_arm_004.zpkg ownCloud_7.0.3_arm_003.zpkg PHP-MySQL-phpMyAdmin_2.0_arm_009.zpkg Polkast_001_arm_0119.zpkg pyLoad_0.4.9_arm_005.zpkg SMART_6.2_arm_007.zpkg SqueezeCenter_7.7_arm_006.zpkg SSH_6.7_arm_001.zpkg Syslog_2.0.10_arm_004.zpkg Tftp_0.7_arm_002.zpkg Transmission_2.82_arm_003.zpkg WordPress_3.6.1_arm_009.zpkg BackupPlanner_001_arm_013.zpkg DyDNS_001_arm_008.zpkg eMule_001_arm_008.zpkg gallery_3.0.4_arm_007.zpkg GoogleDriveClient_0.4.0_arm_002.zpkg Memopal_2.4.4_arm_003.zpkg myZyXELcloud-Agent_0.0.15_arm_0015.zpkg NFS_1.1.4_arm_005.zpkg NZBGet_11.0_arm_004.zpkg ownCloud_7.0.3_arm_003.zpkg PHP-MySQL-phpMyAdmin_2.0_arm_009.zpkg Polkast_001_arm_0119.zpkg pyLoad_0.4.9_arm_005.zpkg SMART_6.2_arm_007.zpkg SqueezeCenter_7.7_arm_006.zpkg SSH_6.7_arm_001.zpkg Syslog_2.0.10_arm_004.zpkg Tftp_0.7_arm_002.zpkg Transmission_2.82_arm_003.zpkg WordPress_3.6.1_arm_009.zpkg BackupPlanner_001_arm_013.zpkg DyDNS_001_arm_008.zpkg eMule_001_arm_008.zpkg gallery_3.0.4_arm_007.zpkg GoogleDriveClient_0.4.0_arm_002.zpkg Memopal_2.4.4_arm_003.zpkg myZyXELcloud-Agent_0.0.15_arm_0015.zpkg NFS_1.1.4_arm_005.zpkg NZBGet_11.0_arm_004.zpkg ownCloud_7.0.3_arm_003.zpkg PHP-MySQL-phpMyAdmin_2.0_arm_009.zpkg Polkast_001_arm_0119.zpkg pyLoad_0.4.9_arm_005.zpkg SMART_6.2_arm_007.zpkg SqueezeCenter_7.7_arm_006.zpkg SSH_6.7_arm_001.zpkg Syslog_2.0.10_arm_004.zpkg Tftp_0.7_arm_002.zpkg Transmission_2.82_arm_003.zpkg WordPress_3.6.1_arm_009.zpkg
+ mv /i-data/md0/admin/zy-pkgs/MetaRepository/http___zyxel.diskstation.eu_Users_Mijzelf_zypkg-repo_fw4_stock_packages_/tmp $'/i-data/md0/admin/zy-pkgs/MetaRepository/http___zyxel.diskstation.eu_Users_Mijzelf_zypkg-repo_fw4_stock_packages_/BackupPlanner_001_arm_013.zpkg\r' $'DyDNS_001_arm_008.zpkg\r' $'eMule_001_arm_008.zpkg\r' $'gallery_3.0.4_arm_007.zpkg\r' $'GoogleDriveClient_0.4.0_arm_002.zpkg\r' $'Memopal_2.4.4_arm_003.zpkg\r' $'myZyXELcloud-Agent_0.0.15_arm_0015.zpkg\r' $'NFS_1.1.4_arm_005.zpkg\r' $'NZBGet_11.0_arm_004.zpkg\r' $'ownCloud_7.0.3_arm_003.zpkg\r' $'PHP-MySQL-phpMyAdmin_2.0_arm_009.zpkg\r' $'Polkast_001_arm_0119.zpkg\r' $'pyLoad_0.4.9_arm_005.zpkg\r' $'SMART_6.2_arm_007.zpkg\r' $'SqueezeCenter_7.7_arm_006.zpkg\r' $'SSH_6.7_arm_001.zpkg\r' $'Syslog_2.0.10_arm_004.zpkg\r' $'Tftp_0.7_arm_002.zpkg\r' $'Transmission_2.82_arm_003.zpkg\r' $'WordPress_3.6.1_arm_009.zpkg\r' $'BackupPlanner_001_arm_013.zpkg\r' $'DyDNS_001_arm_008.zpkg\r' $'eMule_001_arm_008.zpkg\r' $'gallery_3.0.4_arm_007.zpkg\r' $'GoogleDriveClient_0.4.0_arm_002.zpkg\r' $'Memopal_2.4.4_arm_003.zpkg\r' $'myZyXELcloud-Agent_0.0.15_arm_0015.zpkg\r' $'NFS_1.1.4_arm_005.zpkg\r' $'NZBGet_11.0_arm_004.zpkg\r' $'ownCloud_7.0.3_arm_003.zpkg\r' $'PHP-MySQL-phpMyAdmin_2.0_arm_009.zpkg\r' $'Polkast_001_arm_0119.zpkg\r' $'pyLoad_0.4.9_arm_005.zpkg\r' $'SMART_6.2_arm_007.zpkg\r' $'SqueezeCenter_7.7_arm_006.zpkg\r' $'SSH_6.7_arm_001.zpkg\r' $'Syslog_2.0.10_arm_004.zpkg\r' $'Tftp_0.7_arm_002.zpkg\r' $'Transmission_2.82_arm_003.zpkg\r' $'WordPress_3.6.1_arm_009.zpkg\r' $'BackupPlanner_001_arm_013.zpkg\r' $'DyDNS_001_arm_008.zpkg\r' $'eMule_001_arm_008.zpkg\r' $'gallery_3.0.4_arm_007.zpkg\r' $'GoogleDriveClient_0.4.0_arm_002.zpkg\r' $'Memopal_2.4.4_arm_003.zpkg\r' $'myZyXELcloud-Agent_0.0.15_arm_0015.zpkg\r' $'NFS_1.1.4_arm_005.zpkg\r' $'NZBGet_11.0_arm_004.zpkg\r' $'ownCloud_7.0.3_arm_003.zpkg\r' $'PHP-MySQL-phpMyAdmin_2.0_arm_009.zpkg\r' $'Polkast_001_arm_0119.zpkg\r' $'pyLoad_0.4.9_arm_005.zpkg\r' $'SMART_6.2_arm_007.zpkg\r' $'SqueezeCenter_7.7_arm_006.zpkg\r' $'SSH_6.7_arm_001.zpkg\r' $'Syslog_2.0.10_arm_004.zpkg\r' $'Tftp_0.7_arm_002.zpkg\r' $'Transmission_2.82_arm_003.zpkg\r' $'WordPress_3.6.1_arm_009.zpkg\r.ZYPKG'
mv: target `WordPress_3.6.1_arm_009.zpkg\r.ZYPKG' is not a directory
++ basename /i-data/md0/admin/zy-pkgs/MetaRepository/http___zyxel.diskstation.eu_Users_Mijzelf_zypkg-repo_fw4_stock_packages_
+ echo $'BackupPlanner\r' $'DyDNS\r' $'eMule\r' $'gallery\r' $'GoogleDriveClient\r' $'Memopal\r' $'myZyXELcloud-Agent\r' $'NFS\r' $'NZBGet\r' $'ownCloud\r' $'PHP-MySQL-phpMyAdmin\r' $'Polkast\r' $'pyLoad\r' $'SMART\r' $'SqueezeCenter\r' $'SSH\r' $'Syslog\r' $'Tftp\r' $'Transmission\r' $'WordPress\r' $'BackupPlanner\r' $'DyDNS\r' $'eMule\r' $'gallery\r' $'GoogleDriveClient\r' $'Memopal\r' $'myZyXELcloud-Agent\r' $'NFS\r' $'NZBGet\r' $'ownCloud\r' $'PHP-MySQL-phpMyAdmin\r' $'Polkast\r' $'pyLoad\r' $'SMART\r' $'SqueezeCenter\r' $'SSH\r' $'Syslog\r' $'Tftp\r' $'Transmission\r' $'WordPress\r' $'BackupPlanner\r' $'DyDNS\r' $'eMule\r' $'gallery\r' $'GoogleDriveClient\r' $'Memopal\r' $'myZyXELcloud-Agent\r' $'NFS\r' $'NZBGet\r' $'ownCloud\r' $'PHP-MySQL-phpMyAdmin\r' $'Polkast\r' $'pyLoad\r' $'SMART\r' $'SqueezeCenter\r' $'SSH\r' $'Syslog\r' $'Tftp\r' $'Transmission\r' $'WordPress\r' $'1-013\r-9' $'http___zyxel.diskstation.eu_Users_Mijzelf_zypkg-repo_fw4_stock_packages_/BackupPlanner_001_arm_013.zpkg\r' $'DyDNS_001_arm_008.zpkg\r' $'eMule_001_arm_008.zpkg\r' $'gallery_3.0.4_arm_007.zpkg\r' $'GoogleDriveClient_0.4.0_arm_002.zpkg\r' $'Memopal_2.4.4_arm_003.zpkg\r' $'myZyXELcloud-Agent_0.0.15_arm_0015.zpkg\r' $'NFS_1.1.4_arm_005.zpkg\r' $'NZBGet_11.0_arm_004.zpkg\r' $'ownCloud_7.0.3_arm_003.zpkg\r' $'PHP-MySQL-phpMyAdmin_2.0_arm_009.zpkg\r' $'Polkast_001_arm_0119.zpkg\r' $'pyLoad_0.4.9_arm_005.zpkg\r' $'SMART_6.2_arm_007.zpkg\r' $'SqueezeCenter_7.7_arm_006.zpkg\r' $'SSH_6.7_arm_001.zpkg\r' $'Syslog_2.0.10_arm_004.zpkg\r' $'Tftp_0.7_arm_002.zpkg\r' $'Transmission_2.82_arm_003.zpkg\r' $'WordPress_3.6.1_arm_009.zpkg\r' $'BackupPlanner_001_arm_013.zpkg\r' $'DyDNS_001_arm_008.zpkg\r' $'eMule_001_arm_008.zpkg\r' $'gallery_3.0.4_arm_007.zpkg\r' $'GoogleDriveClient_0.4.0_arm_002.zpkg\r' $'Memopal_2.4.4_arm_003.zpkg\r' $'myZyXELcloud-Agent_0.0.15_arm_0015.zpkg\r' $'NFS_1.1.4_arm_005.zpkg\r' $'NZBGet_11.0_arm_004.zpkg\r' $'ownCloud_7.0.3_arm_003.zpkg\r' $'PHP-MySQL-phpMyAdmin_2.0_arm_009.zpkg\r' $'Polkast_001_arm_0119.zpkg\r' $'pyLoad_0.4.9_arm_005.zpkg\r' $'SMART_6.2_arm_007.zpkg\r' $'SqueezeCenter_7.7_arm_006.zpkg\r' $'SSH_6.7_arm_001.zpkg\r' $'Syslog_2.0.10_arm_004.zpkg\r' $'Tftp_0.7_arm_002.zpkg\r' $'Transmission_2.82_arm_003.zpkg\r' $'WordPress_3.6.1_arm_009.zpkg\r' $'BackupPlanner_001_arm_013.zpkg\r' $'DyDNS_001_arm_008.zpkg\r' $'eMule_001_arm_008.zpkg\r' $'gallery_3.0.4_arm_007.zpkg\r' $'GoogleDriveClient_0.4.0_arm_002.zpkg\r' $'Memopal_2.4.4_arm_003.zpkg\r' $'myZyXELcloud-Agent_0.0.15_arm_0015.zpkg\r' $'NFS_1.1.4_arm_005.zpkg\r' $'NZBGet_11.0_arm_004.zpkg\r' $'ownCloud_7.0.3_arm_003.zpkg\r' $'PHP-MySQL-phpMyAdmin_2.0_arm_009.zpkg\r' $'Polkast_001_arm_0119.zpkg\r' $'pyLoad_0.4.9_arm_005.zpkg\r' $'SMART_6.2_arm_007.zpkg\r' $'SqueezeCenter_7.7_arm_006.zpkg\r' $'SSH_6.7_arm_001.zpkg\r' $'Syslog_2.0.10_arm_004.zpkg\r' $'Tftp_0.7_arm_002.zpkg\r' $'Transmission_2.82_arm_003.zpkg\r' $'WordPress_3.6.1_arm_009.zpkg\r'
+ local newlanglist=0
+ local 'langlist=/i-data/md0/admin/zy-pkgs/MetaRepository/http___zyxel.diskstation.eu_Users_Mijzelf_zypkg-repo_fw4_stock_packages_/BackupPlanner_001_arm_013.zpkg
DyDNS_001_arm_008.zpkg
eMule_001_arm_008.zpkg
gallery_3.0.4_arm_007.zpkg
GoogleDriveClient_0.4.0_arm_002.zpkg
Memopal_2.4.4_arm_003.zpkg
myZyXELcloud-Agent_0.0.15_arm_0015.zpkg
NFS_1.1.4_arm_005.zpkg
NZBGet_11.0_arm_004.zpkg
ownCloud_7.0.3_arm_003.zpkg
PHP-MySQL-phpMyAdmin_2.0_arm_009.zpkg
Polkast_001_arm_0119.zpkg
pyLoad_0.4.9_arm_005.zpkg
SMART_6.2_arm_007.zpkg
SqueezeCenter_7.7_arm_006.zpkg
SSH_6.7_arm_001.zpkg
Syslog_2.0.10_arm_004.zpkg
Tftp_0.7_arm_002.zpkg
Transmission_2.82_arm_003.zpkg
WordPress_3.6.1_arm_009.zpkg
BackupPlanner_001_arm_013.zpkg
DyDNS_001_arm_008.zpkg
eMule_001_arm_008.zpkg
gallery_3.0.4_arm_007.zpkg
GoogleDriveClient_0.4.0_arm_002.zpkg
Memopal_2.4.4_arm_003.zpkg
myZyXELcloud-Agent_0.0.15_arm_0015.zpkg
NFS_1.1.4_arm_005.zpkg
NZBGet_11.0_arm_004.zpkg
ownCloud_7.0.3_arm_003.zpkg
PHP-MySQL-phpMyAdmin_2.0_arm_009.zpkg
Polkast_001_arm_0119.zpkg
pyLoad_0.4.9_arm_005.zpkg
SMART_6.2_arm_007.zpkg
SqueezeCenter_7.7_arm_006.zpkg
SSH_6.7_arm_001.zpkg
Syslog_2.0.10_arm_004.zpkg
Tftp_0.7_arm_002.zpkg
Transmission_2.82_arm_003.zpkg
WordPress_3.6.1_arm_009.zpkg
BackupPlanner_001_arm_013.zpkg
DyDNS_001_arm_008.zpkg
eMule_001_arm_008.zpkg
gallery_3.0.4_arm_007.zpkg
GoogleDriveClient_0.4.0_arm_002.zpkg
Memopal_2.4.4_arm_003.zpkg
myZyXELcloud-Agent_0.0.15_arm_0015.zpkg
NFS_1.1.4_arm_005.zpkg
NZBGet_11.0_arm_004.zpkg
ownCloud_7.0.3_arm_003.zpkg
PHP-MySQL-phpMyAdmin_2.0_arm_009.zpkg
Polkast_001_arm_0119.zpkg
pyLoad_0.4.9_arm_005.zpkg
SMART_6.2_arm_007.zpkg
SqueezeCenter_7.7_arm_006.zpkg
SSH_6.7_arm_001.zpkg
Syslog_2.0.10_arm_004.zpkg
Tftp_0.7_arm_002.zpkg
Transmission_2.82_arm_003.zpkg
WordPress_3.6.1_arm_009.zpkg.LANGLIST'
+ '[' -f /i-data/md0/admin/zy-pkgs/MetaRepository/http___zyxel.diskstation.eu_Users_Mijzelf_zypkg-repo_fw4_stock_packages_/usr/local/zy-pkgs/gui/ZYPKG_LANG_LIST ']'
+ '[' '!' -f $'/i-data/md0/admin/zy-pkgs/MetaRepository/http___zyxel.diskstation.eu_Users_Mijzelf_zypkg-repo_fw4_stock_packages_/BackupPlanner_001_arm_013.zpkg\r' $'DyDNS_001_arm_008.zpkg\r' $'eMule_001_arm_008.zpkg\r' $'gallery_3.0.4_arm_007.zpkg\r' $'GoogleDriveClient_0.4.0_arm_002.zpkg\r' $'Memopal_2.4.4_arm_003.zpkg\r' $'myZyXELcloud-Agent_0.0.15_arm_0015.zpkg\r' $'NFS_1.1.4_arm_005.zpkg\r' $'NZBGet_11.0_arm_004.zpkg\r' $'ownCloud_7.0.3_arm_003.zpkg\r' $'PHP-MySQL-phpMyAdmin_2.0_arm_009.zpkg\r' $'Polkast_001_arm_0119.zpkg\r' $'pyLoad_0.4.9_arm_005.zpkg\r' $'SMART_6.2_arm_007.zpkg\r' $'SqueezeCenter_7.7_arm_006.zpkg\r' $'SSH_6.7_arm_001.zpkg\r' $'Syslog_2.0.10_arm_004.zpkg\r' $'Tftp_0.7_arm_002.zpkg\r' $'Transmission_2.82_arm_003.zpkg\r' $'WordPress_3.6.1_arm_009.zpkg\r' $'BackupPlanner_001_arm_013.zpkg\r' $'DyDNS_001_arm_008.zpkg\r' $'eMule_001_arm_008.zpkg\r' $'gallery_3.0.4_arm_007.zpkg\r' $'GoogleDriveClient_0.4.0_arm_002.zpkg\r' $'Memopal_2.4.4_arm_003.zpkg\r' $'myZyXELcloud-Agent_0.0.15_arm_0015.zpkg\r' $'NFS_1.1.4_arm_005.zpkg\r' $'NZBGet_11.0_arm_004.zpkg\r' $'ownCloud_7.0.3_arm_003.zpkg\r' $'PHP-MySQL-phpMyAdmin_2.0_arm_009.zpkg\r' $'Polkast_001_arm_0119.zpkg\r' $'pyLoad_0.4.9_arm_005.zpkg\r' $'SMART_6.2_arm_007.zpkg\r' $'SqueezeCenter_7.7_arm_006.zpkg\r' $'SSH_6.7_arm_001.zpkg\r' $'Syslog_2.0.10_arm_004.zpkg\r' $'Tftp_0.7_arm_002.zpkg\r' $'Transmission_2.82_arm_003.zpkg\r' $'WordPress_3.6.1_arm_009.zpkg\r' $'BackupPlanner_001_arm_013.zpkg\r' $'DyDNS_001_arm_008.zpkg\r' $'eMule_001_arm_008.zpkg\r' $'gallery_3.0.4_arm_007.zpkg\r' $'GoogleDriveClient_0.4.0_arm_002.zpkg\r' $'Memopal_2.4.4_arm_003.zpkg\r' $'myZyXELcloud-Agent_0.0.15_arm_0015.zpkg\r' $'NFS_1.1.4_arm_005.zpkg\r' $'NZBGet_11.0_arm_004.zpkg\r' $'ownCloud_7.0.3_arm_003.zpkg\r' $'PHP-MySQL-phpMyAdmin_2.0_arm_009.zpkg\r' $'Polkast_001_arm_0119.zpkg\r' $'pyLoad_0.4.9_arm_005.zpkg\r' $'SMART_6.2_arm_007.zpkg\r' $'SqueezeCenter_7.7_arm_006.zpkg\r' $'SSH_6.7_arm_001.zpkg\r' $'Syslog_2.0.10_arm_004.zpkg\r' $'Tftp_0.7_arm_002.zpkg\r' $'Transmission_2.82_arm_003.zpkg\r' $'WordPress_3.6.1_arm_009.zpkg\r.LANGLIST' -a 400 -ge 520 ']'
./ZYPKG_INFO.sh: line 75: [: too many arguments
+ '[' '!' -z ']'
+ '[' -z Stock ']'
+ '[' -f $'/i-data/md0/admin/zy-pkgs/MetaRepository/http___zyxel.diskstation.eu_Users_Mijzelf_zypkg-repo_fw4_stock_packages_/BackupPlanner_001_arm_013.zpkg\r' $'DyDNS_001_arm_008.zpkg\r' $'eMule_001_arm_008.zpkg\r' $'gallery_3.0.4_arm_007.zpkg\r' $'GoogleDriveClient_0.4.0_arm_002.zpkg\r' $'Memopal_2.4.4_arm_003.zpkg\r' $'myZyXELcloud-Agent_0.0.15_arm_0015.zpkg\r' $'NFS_1.1.4_arm_005.zpkg\r' $'NZBGet_11.0_arm_004.zpkg\r' $'ownCloud_7.0.3_arm_003.zpkg\r' $'PHP-MySQL-phpMyAdmin_2.0_arm_009.zpkg\r' $'Polkast_001_arm_0119.zpkg\r' $'pyLoad_0.4.9_arm_005.zpkg\r' $'SMART_6.2_arm_007.zpkg\r' $'SqueezeCenter_7.7_arm_006.zpkg\r' $'SSH_6.7_arm_001.zpkg\r' $'Syslog_2.0.10_arm_004.zpkg\r' $'Tftp_0.7_arm_002.zpkg\r' $'Transmission_2.82_arm_003.zpkg\r' $'WordPress_3.6.1_arm_009.zpkg\r' $'BackupPlanner_001_arm_013.zpkg\r' $'DyDNS_001_arm_008.zpkg\r' $'eMule_001_arm_008.zpkg\r' $'gallery_3.0.4_arm_007.zpkg\r' $'GoogleDriveClient_0.4.0_arm_002.zpkg\r' $'Memopal_2.4.4_arm_003.zpkg\r' $'myZyXELcloud-Agent_0.0.15_arm_0015.zpkg\r' $'NFS_1.1.4_arm_005.zpkg\r' $'NZBGet_11.0_arm_004.zpkg\r' $'ownCloud_7.0.3_arm_003.zpkg\r' $'PHP-MySQL-phpMyAdmin_2.0_arm_009.zpkg\r' $'Polkast_001_arm_0119.zpkg\r' $'pyLoad_0.4.9_arm_005.zpkg\r' $'SMART_6.2_arm_007.zpkg\r' $'SqueezeCenter_7.7_arm_006.zpkg\r' $'SSH_6.7_arm_001.zpkg\r' $'Syslog_2.0.10_arm_004.zpkg\r' $'Tftp_0.7_arm_002.zpkg\r' $'Transmission_2.82_arm_003.zpkg\r' $'WordPress_3.6.1_arm_009.zpkg\r' $'BackupPlanner_001_arm_013.zpkg\r' $'DyDNS_001_arm_008.zpkg\r' $'eMule_001_arm_008.zpkg\r' $'gallery_3.0.4_arm_007.zpkg\r' $'GoogleDriveClient_0.4.0_arm_002.zpkg\r' $'Memopal_2.4.4_arm_003.zpkg\r' $'myZyXELcloud-Agent_0.0.15_arm_0015.zpkg\r' $'NFS_1.1.4_arm_005.zpkg\r' $'NZBGet_11.0_arm_004.zpkg\r' $'ownCloud_7.0.3_arm_003.zpkg\r' $'PHP-MySQL-phpMyAdmin_2.0_arm_009.zpkg\r' $'Polkast_001_arm_0119.zpkg\r' $'pyLoad_0.4.9_arm_005.zpkg\r' $'SMART_6.2_arm_007.zpkg\r' $'SqueezeCenter_7.7_arm_006.zpkg\r' $'SSH_6.7_arm_001.zpkg\r' $'Syslog_2.0.10_arm_004.zpkg\r' $'Tftp_0.7_arm_002.zpkg\r' $'Transmission_2.82_arm_003.zpkg\r' $'WordPress_3.6.1_arm_009.zpkg\r.LANGLIST' ']'
./ZYPKG_INFO.sh: line 111: [: too many arguments
+ sed -i 's|^Description: |Description: <i>(Repo: Stock)</i> |' $'/i-data/md0/admin/zy-pkgs/MetaRepository/http___zyxel.diskstation.eu_Users_Mijzelf_zypkg-repo_fw4_stock_packages_/BackupPlanner_001_arm_013.zpkg\r' $'DyDNS_001_arm_008.zpkg\r' $'eMule_001_arm_008.zpkg\r' $'gallery_3.0.4_arm_007.zpkg\r' $'GoogleDriveClient_0.4.0_arm_002.zpkg\r' $'Memopal_2.4.4_arm_003.zpkg\r' $'myZyXELcloud-Agent_0.0.15_arm_0015.zpkg\r' $'NFS_1.1.4_arm_005.zpkg\r' $'NZBGet_11.0_arm_004.zpkg\r' $'ownCloud_7.0.3_arm_003.zpkg\r' $'PHP-MySQL-phpMyAdmin_2.0_arm_009.zpkg\r' $'Polkast_001_arm_0119.zpkg\r' $'pyLoad_0.4.9_arm_005.zpkg\r' $'SMART_6.2_arm_007.zpkg\r' $'SqueezeCenter_7.7_arm_006.zpkg\r' $'SSH_6.7_arm_001.zpkg\r' $'Syslog_2.0.10_arm_004.zpkg\r' $'Tftp_0.7_arm_002.zpkg\r' $'Transmission_2.82_arm_003.zpkg\r' $'WordPress_3.6.1_arm_009.zpkg\r' $'BackupPlanner_001_arm_013.zpkg\r' $'DyDNS_001_arm_008.zpkg\r' $'eMule_001_arm_008.zpkg\r' $'gallery_3.0.4_arm_007.zpkg\r' $'GoogleDriveClient_0.4.0_arm_002.zpkg\r' $'Memopal_2.4.4_arm_003.zpkg\r' $'myZyXELcloud-Agent_0.0.15_arm_0015.zpkg\r' $'NFS_1.1.4_arm_005.zpkg\r' $'NZBGet_11.0_arm_004.zpkg\r' $'ownCloud_7.0.3_arm_003.zpkg\r' $'PHP-MySQL-phpMyAdmin_2.0_arm_009.zpkg\r' $'Polkast_001_arm_0119.zpkg\r' $'pyLoad_0.4.9_arm_005.zpkg\r' $'SMART_6.2_arm_007.zpkg\r' $'SqueezeCenter_7.7_arm_006.zpkg\r' $'SSH_6.7_arm_001.zpkg\r' $'Syslog_2.0.10_arm_004.zpkg\r' $'Tftp_0.7_arm_002.zpkg\r' $'Transmission_2.82_arm_003.zpkg\r' $'WordPress_3.6.1_arm_009.zpkg\r' $'BackupPlanner_001_arm_013.zpkg\r' $'DyDNS_001_arm_008.zpkg\r' $'eMule_001_arm_008.zpkg\r' $'gallery_3.0.4_arm_007.zpkg\r' $'GoogleDriveClient_0.4.0_arm_002.zpkg\r' $'Memopal_2.4.4_arm_003.zpkg\r' $'myZyXELcloud-Agent_0.0.15_arm_0015.zpkg\r' $'NFS_1.1.4_arm_005.zpkg\r' $'NZBGet_11.0_arm_004.zpkg\r' $'ownCloud_7.0.3_arm_003.zpkg\r' $'PHP-MySQL-phpMyAdmin_2.0_arm_009.zpkg\r' $'Polkast_001_arm_0119.zpkg\r' $'pyLoad_0.4.9_arm_005.zpkg\r' $'SMART_6.2_arm_007.zpkg\r' $'SqueezeCenter_7.7_arm_006.zpkg\r' $'SSH_6.7_arm_001.zpkg\r' $'Syslog_2.0.10_arm_004.zpkg\r' $'Tftp_0.7_arm_002.zpkg\r' $'Transmission_2.82_arm_003.zpkg\r' $'WordPress_3.6.1_arm_009.zpkg\r.ZYPKG'
sed: can't read /i-data/md0/admin/zy-pkgs/MetaRepository/http___zyxel.diskstation.eu_Users_Mijzelf_zypkg-repo_fw4_stock_packages_/BackupPlanner_001_arm_013.zpkg: No such file or directory
sed: can't read DyDNS_001_arm_008.zpkg: No such file or directory
sed: can't read eMule_001_arm_008.zpkg: No such file or directory
sed: can't read gallery_3.0.4_arm_007.zpkg: No such file or directory
sed: can't read GoogleDriveClient_0.4.0_arm_002.zpkg: No such file or directory
sed: can't read Memopal_2.4.4_arm_003.zpkg: No such file or directory
sed: can't read myZyXELcloud-Agent_0.0.15_arm_0015.zpkg: No such file or directory
sed: can't read NFS_1.1.4_arm_005.zpkg: No such file or directory
sed: can't read NZBGet_11.0_arm_004.zpkg: No such file or directory
sed: can't read ownCloud_7.0.3_arm_003.zpkg: No such file or directory
sed: can't read PHP-MySQL-phpMyAdmin_2.0_arm_009.zpkg: No such file or directory
sed: can't read Polkast_001_arm_0119.zpkg: No such file or directory
sed: can't read pyLoad_0.4.9_arm_005.zpkg: No such file or directory
sed: can't read SMART_6.2_arm_007.zpkg: No such file or directory
sed: can't read SqueezeCenter_7.7_arm_006.zpkg: No such file or directory
sed: can't read SSH_6.7_arm_001.zpkg: No such file or directory
sed: can't read Syslog_2.0.10_arm_004.zpkg: No such file or directory
sed: can't read Tftp_0.7_arm_002.zpkg: No such file or directory
sed: can't read Transmission_2.82_arm_003.zpkg: No such file or directory
sed: can't read WordPress_3.6.1_arm_009.zpkg: No such file or directory
sed: can't read BackupPlanner_001_arm_013.zpkg: No such file or directory
sed: can't read DyDNS_001_arm_008.zpkg: No such file or directory
sed: can't read eMule_001_arm_008.zpkg: No such file or directory
sed: can't read gallery_3.0.4_arm_007.zpkg: No such file or directory
sed: can't read GoogleDriveClient_0.4.0_arm_002.zpkg: No such file or directory
sed: can't read Memopal_2.4.4_arm_003.zpkg: No such file or directory
sed: can't read myZyXELcloud-Agent_0.0.15_arm_0015.zpkg: No such file or directory
sed: can't read NFS_1.1.4_arm_005.zpkg: No such file or directory
sed: can't read NZBGet_11.0_arm_004.zpkg: No such file or directory
sed: can't read ownCloud_7.0.3_arm_003.zpkg: No such file or directory
sed: can't read PHP-MySQL-phpMyAdmin_2.0_arm_009.zpkg: No such file or directory
sed: can't read Polkast_001_arm_0119.zpkg: No such file or directory
sed: can't read pyLoad_0.4.9_arm_005.zpkg: No such file or directory
sed: can't read SMART_6.2_arm_007.zpkg: No such file or directory
sed: can't read SqueezeCenter_7.7_arm_006.zpkg: No such file or directory
sed: can't read SSH_6.7_arm_001.zpkg: No such file or directory
sed: can't read Syslog_2.0.10_arm_004.zpkg: No such file or directory
sed: can't read Tftp_0.7_arm_002.zpkg: No such file or directory
sed: can't read Transmission_2.82_arm_003.zpkg: No such file or directory
sed: can't read WordPress_3.6.1_arm_009.zpkg: No such file or directory
sed: can't read BackupPlanner_001_arm_013.zpkg: No such file or directory
sed: can't read DyDNS_001_arm_008.zpkg: No such file or directory
sed: can't read eMule_001_arm_008.zpkg: No such file or directory
sed: can't read gallery_3.0.4_arm_007.zpkg: No such file or directory
sed: can't read GoogleDriveClient_0.4.0_arm_002.zpkg: No such file or directory
sed: can't read Memopal_2.4.4_arm_003.zpkg: No such file or directory
sed: can't read myZyXELcloud-Agent_0.0.15_arm_0015.zpkg: No such file or directory
sed: can't read NFS_1.1.4_arm_005.zpkg: No such file or directory
sed: can't read NZBGet_11.0_arm_004.zpkg: No such file or directory
sed: can't read ownCloud_7.0.3_arm_003.zpkg: No such file or directory
sed: can't read PHP-MySQL-phpMyAdmin_2.0_arm_009.zpkg: No such file or directory
sed: can't read Polkast_001_arm_0119.zpkg: No such file or directory
sed: can't read pyLoad_0.4.9_arm_005.zpkg: No such file or directory
sed: can't read SMART_6.2_arm_007.zpkg: No such file or directory
sed: can't read SqueezeCenter_7.7_arm_006.zpkg: No such file or directory
sed: can't read SSH_6.7_arm_001.zpkg: No such file or directory
sed: can't read Syslog_2.0.10_arm_004.zpkg: No such file or directory
sed: can't read Tftp_0.7_arm_002.zpkg: No such file or directory
sed: can't read Transmission_2.82_arm_003.zpkg: No such file or directory
sed: can't read WordPress_3.6.1_arm_009.zpkg.ZYPKG: No such file or directory
+ return 0
+ '[' 0 -eq 0 ']'
+ touch /tmp/.MetaRepository/tmp/changed
+ '[' 9 -gt 0 ']'
+ let postfix=postfix-1
+ read line
+ '[' -z 0 -o 0 = 0 ']'
+ HandleRepo 8 NSA325-v2/4.80/zypkg/ http://zyxel.diskstation.eu/Users/Mijzelf/zypkg-repo/fw4 Mijzelf
+ local postfix=8
+ shift
+ local subdir=NSA325-v2/4.80/zypkg/
+ shift
+ local url=http://zyxel.diskstation.eu/Users/Mijzelf/zypkg-repo/fw4
+ shift
+ local reponame=Mijzelf
+ local plus=
+ grep -e '+$'
+ echo http://zyxel.diskstation.eu/Users/Mijzelf/zypkg-repo/fw4
+ echo http://zyxel.diskstation.eu/Users/Mijzelf/zypkg-repo/fw4
+ grep -e '/$'
+ url=http://zyxel.diskstation.eu/Users/Mijzelf/zypkg-repo/fw4/
+ url=http://zyxel.diskstation.eu/Users/Mijzelf/zypkg-repo/fw4/
++ URLtoFilename http://zyxel.diskstation.eu/Users/Mijzelf/zypkg-repo/fw4/
++ sed 's|[/|:]|_|g'
++ echo http://zyxel.diskstation.eu/Users/Mijzelf/zypkg-repo/fw4/
+ local filename=http___zyxel.diskstation.eu_Users_Mijzelf_zypkg-repo_fw4_
+ local tmpdir=/tmp/.MetaRepository/tmp
+ mkdir -p /tmp/.MetaRepository/tmp
+ echo http___zyxel.diskstation.eu_Users_Mijzelf_zypkg-repo_fw4_
+ FetchZYPKG_INFO http://zyxel.diskstation.eu/Users/Mijzelf/zypkg-repo/fw4/ 8 Mijzelf
+ echo FetchZYPKG_INFO http://zyxel.diskstation.eu/Users/Mijzelf/zypkg-repo/fw4/ 8 Mijzelf
FetchZYPKG_INFO http://zyxel.diskstation.eu/Users/Mijzelf/zypkg-repo/fw4/ 8 Mijzelf
+ url=http://zyxel.diskstation.eu/Users/Mijzelf/zypkg-repo/fw4/
+ postfix=8
+ reponame=Mijzelf
++ URLtoFilename http://zyxel.diskstation.eu/Users/Mijzelf/zypkg-repo/fw4/
++ echo http://zyxel.diskstation.eu/Users/Mijzelf/zypkg-repo/fw4/
++ sed 's|[/|:]|_|g'
+ filename=/i-data/md0/admin/zy-pkgs/MetaRepository/http___zyxel.diskstation.eu_Users_Mijzelf_zypkg-repo_fw4_
+ echo http://zyxel.diskstation.eu/Users/Mijzelf/zypkg-repo/fw4/
+ '[' -z /sbin/md5sum ']'
+ local 'filelist=ZYPKG_INFO.tgz ZYPKGS'
+ '[' '' = 1 ']'
++ FetchAll /i-data/md0/admin/zy-pkgs/MetaRepository/http___zyxel.diskstation.eu_Users_Mijzelf_zypkg-repo_fw4_.tmp http://zyxel.diskstation.eu/Users/Mijzelf/zypkg-repo/fw4/ ZYPKG_INFO.tgz ZYPKGS
++ local target=/i-data/md0/admin/zy-pkgs/MetaRepository/http___zyxel.diskstation.eu_Users_Mijzelf_zypkg-repo_fw4_.tmp
++ shift
++ local url=http://zyxel.diskstation.eu/Users/Mijzelf/zypkg-repo/fw4/
++ shift
++ for file in '$@'
++ Fetch http://zyxel.diskstation.eu/Users/Mijzelf/zypkg-repo/fw4/ZYPKG_INFO.tgz /i-data/md0/admin/zy-pkgs/MetaRepository/http___zyxel.diskstation.eu_Users_Mijzelf_zypkg-repo_fw4_.tmp
++ from=http://zyxel.diskstation.eu/Users/Mijzelf/zypkg-repo/fw4/ZYPKG_INFO.tgz
++ to=/i-data/md0/admin/zy-pkgs/MetaRepository/http___zyxel.diskstation.eu_Users_Mijzelf_zypkg-repo_fw4_.tmp
++ '[' false '!=' true ']'
++ '[' -z '' ']'
+++ FindApp curl
+++ case $1 in
+++ '[' '!' -z '' ']'
+++ echo -n 'FindApp curl '
FindApp curl +++ unset app
+++ for path in /bin/ /sbin/ /usr/bin/ /usr/sbin/ /usr/local/bin/ /usr/local/sbin/ /opt/bin/ /opt/sbin/ /ffp/bin/ /ffp/sbin/
+++ '[' -x /bin/curl ']'
+++ for path in /bin/ /sbin/ /usr/bin/ /usr/sbin/ /usr/local/bin/ /usr/local/sbin/ /opt/bin/ /opt/sbin/ /ffp/bin/ /ffp/sbin/
+++ '[' -x /sbin/curl ']'
+++ for path in /bin/ /sbin/ /usr/bin/ /usr/sbin/ /usr/local/bin/ /usr/local/sbin/ /opt/bin/ /opt/sbin/ /ffp/bin/ /ffp/sbin/
+++ '[' -x /usr/bin/curl ']'
+++ echo found /usr/bin/curl
found /usr/bin/curl
+++ app=/usr/bin/curl
+++ break
+++ '[' -z /usr/bin/curl ']'
+++ case $1 in
+++ CURL=/usr/bin/curl
+++ echo /usr/bin/curl
++ CURL=/usr/bin/curl
++ '[' -z /usr/bin/curl ']'
++ '[' false = true ']'
++ echo -n 'Fetch http://zyxel.diskstation.eu/Users/Mijzelf/zypkg-repo/fw4/ZYPKG_INFO.tgz' '/i-data/md0/admin/zy-pkgs/MetaRepository/http___zyxel.diskstation.eu_Users_Mijzelf_zypkg-repo_fw4_.tmp '
Fetch http://zyxel.diskstation.eu/Users/Mijzelf/zypkg-repo/fw4/ZYPKG_INFO.tgz /i-data/md0/admin/zy-pkgs/MetaRepository/http___zyxel.diskstation.eu_Users_Mijzelf_zypkg-repo_fw4_.tmp ++ case ${from} in
++ local res=0
++ '[' false '!=' true ']'
++ local flags=-f
++ '[' /i-data/md0/admin/zy-pkgs/MetaRepository/http___zyxel.diskstation.eu_Users_Mijzelf_zypkg-repo_fw4_.tmp = - ']'
++ /usr/bin/curl -f http://zyxel.diskstation.eu/Users/Mijzelf/zypkg-repo/fw4/ZYPKG_INFO.tgz
++ res=22
++ '[' 22 -eq 0 ']'
++ echo failed
failed
++ return 22
++ '[' 22 -eq 0 ']'
++ for file in '$@'
++ Fetch http://zyxel.diskstation.eu/Users/Mijzelf/zypkg-repo/fw4/ZYPKGS /i-data/md0/admin/zy-pkgs/MetaRepository/http___zyxel.diskstation.eu_Users_Mijzelf_zypkg-repo_fw4_.tmp
++ from=http://zyxel.diskstation.eu/Users/Mijzelf/zypkg-repo/fw4/ZYPKGS
++ to=/i-data/md0/admin/zy-pkgs/MetaRepository/http___zyxel.diskstation.eu_Users_Mijzelf_zypkg-repo_fw4_.tmp
++ '[' false '!=' true ']'
++ '[' -z /usr/bin/curl ']'
++ '[' -z /usr/bin/curl ']'
++ '[' false = true ']'
++ echo -n 'Fetch http://zyxel.diskstation.eu/Users/Mijzelf/zypkg-repo/fw4/ZYPKGS' '/i-data/md0/admin/zy-pkgs/MetaRepository/http___zyxel.diskstation.eu_Users_Mijzelf_zypkg-repo_fw4_.tmp '
Fetch http://zyxel.diskstation.eu/Users/Mijzelf/zypkg-repo/fw4/ZYPKGS /i-data/md0/admin/zy-pkgs/MetaRepository/http___zyxel.diskstation.eu_Users_Mijzelf_zypkg-repo_fw4_.tmp ++ case ${from} in
++ local res=0
++ '[' false '!=' true ']'
++ local flags=-f
++ '[' /i-data/md0/admin/zy-pkgs/MetaRepository/http___zyxel.diskstation.eu_Users_Mijzelf_zypkg-repo_fw4_.tmp = - ']'
++ /usr/bin/curl -f http://zyxel.diskstation.eu/Users/Mijzelf/zypkg-repo/fw4/ZYPKGS
++ res=0
++ '[' 0 -eq 0 ']'
++ echo succeeded
succeeded
++ return 0
++ '[' 0 -eq 0 ']'
++ echo ZYPKGS
++ return
+ local result=ZYPKGS
+ local md5=bogus
+ local prefix=1
+ case $result in
++ dirname /i-data/md0/admin/zy-pkgs/MetaRepository/http___zyxel.diskstation.eu_Users_Mijzelf_zypkg-repo_fw4_/i-data/md0/admin/zy-pkgs/ZYPKGS
+ mkdir -p /i-data/md0/admin/zy-pkgs/MetaRepository/http___zyxel.diskstation.eu_Users_Mijzelf_zypkg-repo_fw4_/i-data/md0/admin/zy-pkgs
+ mv /i-data/md0/admin/zy-pkgs/MetaRepository/http___zyxel.diskstation.eu_Users_Mijzelf_zypkg-repo_fw4_.tmp /i-data/md0/admin/zy-pkgs/MetaRepository/http___zyxel.diskstation.eu_Users_Mijzelf_zypkg-repo_fw4_/i-data/md0/admin/zy-pkgs/ZYPKGS
+ '[' '!' -z ']'
++ cat /i-data/md0/admin/zy-pkgs/MetaRepository/http___zyxel.diskstation.eu_Users_Mijzelf_zypkg-repo_fw4_/i-data/md0/admin/zy-pkgs/ZYPKGS
++ /sbin/md5sum
++ cut -d ' ' -f 1
+ md5=cd2f04eacefea2e6da9b1478a4fabc60
+ '[' -f /i-data/md0/admin/zy-pkgs/MetaRepository/http___zyxel.diskstation.eu_Users_Mijzelf_zypkg-repo_fw4_.400.md5 ']'
+ '[' '!' -z -a -f /i-data/md0/admin/zy-pkgs/MetaRepository/http___zyxel.diskstation.eu_Users_Mijzelf_zypkg-repo_fw4_ ']'
./ZYPKG_INFO.sh: line 207: [: too many arguments
+ echo cd2f04eacefea2e6da9b1478a4fabc60
+ '[' -f /i-data/md0/admin/zy-pkgs/MetaRepository/http___zyxel.diskstation.eu_Users_Mijzelf_zypkg-repo_fw4_.list ']'
+ echo 'reada /i-data/md0/admin/zy-pkgs/MetaRepository/http___zyxel.diskstation.eu_Users_Mijzelf_zypkg-repo_fw4_/i-data/md0/admin/zy-pkgs/ZYPKGS'
+ read line
++ StripLeadingAndTrailingSpaces 'Package: ffp'
++ '[' -z 'Package: ffp' ']'
++ echo 'Package: ffp'
+ line='Package: ffp'
+ '[' 'Package: ffp' = '' ']'
+ echo Package: $'ffp\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Version: 0.7zypkg006'
++ '[' -z 'Version: 0.7zypkg006' ']'
++ echo 'Version: 0.7zypkg006'
+ line='Version: 0.7zypkg006'
+ '[' 'Version: 0.7zypkg006' = '' ']'
+ echo Version: $'0.7zypkg006\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Description: Fonz Fun Plug'
++ '[' -z 'Description: Fonz Fun Plug' ']'
++ echo 'Description: Fonz Fun Plug'
+ line='Description: Fonz Fun Plug'
+ '[' 'Description: Fonz Fun Plug' = '' ']'
+ echo Description: Fonz Fun $'Plug\r'
+ read line
++ StripLeadingAndTrailingSpaces $'Depends:\r'
++ '[' -z $'Depends:\r' ']'
++ echo $'Depends:\r'
+ line=$'Depends:\r'
+ '[' $'Depends:\r' = '' ']'
+ echo $'Depends:\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Size: 5000000'
++ '[' -z 'Size: 5000000' ']'
++ echo 'Size: 5000000'
+ line='Size: 5000000'
+ '[' 'Size: 5000000' = '' ']'
+ echo Size: $'5000000\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Installed-Size: 100000000'
++ '[' -z 'Installed-Size: 100000000' ']'
++ echo 'Installed-Size: 100000000'
+ line='Installed-Size: 100000000'
+ '[' 'Installed-Size: 100000000' = '' ']'
+ echo Installed-Size: $'100000000\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Architecture: arm'
++ '[' -z 'Architecture: arm' ']'
++ echo 'Architecture: arm'
+ line='Architecture: arm'
+ '[' 'Architecture: arm' = '' ']'
+ echo Architecture: $'arm\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Zy-Model: NSA-210, NSA-221, NSA-310, NSA-320, NSA-325'
++ '[' -z 'Zy-Model: NSA-210, NSA-221, NSA-310, NSA-320, NSA-325' ']'
++ echo 'Zy-Model: NSA-210, NSA-221, NSA-310, NSA-320, NSA-325'
+ line='Zy-Model: NSA-210, NSA-221, NSA-310, NSA-320, NSA-325'
+ '[' 'Zy-Model: NSA-210, NSA-221, NSA-310, NSA-320, NSA-325' = '' ']'
+ echo Zy-Model: NSA-210, NSA-221, NSA-310, NSA-320, $'NSA-325\r'
+ read line
++ StripLeadingAndTrailingSpaces 'IsBuiltin: N'
++ '[' -z 'IsBuiltin: N' ']'
++ echo 'IsBuiltin: N'
+ line='IsBuiltin: N'
+ '[' 'IsBuiltin: N' = '' ']'
+ echo IsBuiltin: $'N\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Filename: ffp_0.7_arm_006.zpkg'
++ '[' -z 'Filename: ffp_0.7_arm_006.zpkg' ']'
++ echo 'Filename: ffp_0.7_arm_006.zpkg'
+ line='Filename: ffp_0.7_arm_006.zpkg'
+ '[' 'Filename: ffp_0.7_arm_006.zpkg' = '' ']'
+ echo Filename: $'ffp_0.7_arm_006.zpkg\r'
+ read line
++ StripLeadingAndTrailingSpaces 'MD5SUM: 6988d70be68c266937e236647735deb5'
++ '[' -z 'MD5SUM: 6988d70be68c266937e236647735deb5' ']'
++ echo 'MD5SUM: 6988d70be68c266937e236647735deb5'
+ line='MD5SUM: 6988d70be68c266937e236647735deb5'
+ '[' 'MD5SUM: 6988d70be68c266937e236647735deb5' = '' ']'
+ echo MD5SUM: $'6988d70be68c266937e236647735deb5\r'
+ read line
++ StripLeadingAndTrailingSpaces $'\r'
++ '[' -z $'\r' ']'
++ echo $'\r'
+ line=$'\r'
+ '[' $'\r' = '' ']'
+ echo $'\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Package: btsync'
++ '[' -z 'Package: btsync' ']'
++ echo 'Package: btsync'
+ line='Package: btsync'
+ '[' 'Package: btsync' = '' ']'
+ echo Package: $'btsync\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Version: 1.4.110zypkg007'
++ '[' -z 'Version: 1.4.110zypkg007' ']'
++ echo 'Version: 1.4.110zypkg007'
+ line='Version: 1.4.110zypkg007'
+ '[' 'Version: 1.4.110zypkg007' = '' ']'
+ echo Version: $'1.4.110zypkg007\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Description: BitTorrent Sync. A private cloud tool'
++ '[' -z 'Description: BitTorrent Sync. A private cloud tool' ']'
++ echo 'Description: BitTorrent Sync. A private cloud tool'
+ line='Description: BitTorrent Sync. A private cloud tool'
+ '[' 'Description: BitTorrent Sync. A private cloud tool' = '' ']'
+ echo Description: BitTorrent Sync. A private cloud $'tool\r'
+ read line
++ StripLeadingAndTrailingSpaces $'Depends:\r'
++ '[' -z $'Depends:\r' ']'
++ echo $'Depends:\r'
+ line=$'Depends:\r'
+ '[' $'Depends:\r' = '' ']'
+ echo $'Depends:\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Size: 4200000'
++ '[' -z 'Size: 4200000' ']'
++ echo 'Size: 4200000'
+ line='Size: 4200000'
+ '[' 'Size: 4200000' = '' ']'
+ echo Size: $'4200000\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Installed-Size: 6500000'
++ '[' -z 'Installed-Size: 6500000' ']'
++ echo 'Installed-Size: 6500000'
+ line='Installed-Size: 6500000'
+ '[' 'Installed-Size: 6500000' = '' ']'
+ echo Installed-Size: $'6500000\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Architecture: arm'
++ '[' -z 'Architecture: arm' ']'
++ echo 'Architecture: arm'
+ line='Architecture: arm'
+ '[' 'Architecture: arm' = '' ']'
+ echo Architecture: $'arm\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Zy-Model: NSA-210, NSA-221, NSA-310, NSA-320, NSA-325'
++ '[' -z 'Zy-Model: NSA-210, NSA-221, NSA-310, NSA-320, NSA-325' ']'
++ echo 'Zy-Model: NSA-210, NSA-221, NSA-310, NSA-320, NSA-325'
+ line='Zy-Model: NSA-210, NSA-221, NSA-310, NSA-320, NSA-325'
+ '[' 'Zy-Model: NSA-210, NSA-221, NSA-310, NSA-320, NSA-325' = '' ']'
+ echo Zy-Model: NSA-210, NSA-221, NSA-310, NSA-320, $'NSA-325\r'
+ read line
++ StripLeadingAndTrailingSpaces 'IsBuiltin: N'
++ '[' -z 'IsBuiltin: N' ']'
++ echo 'IsBuiltin: N'
+ line='IsBuiltin: N'
+ '[' 'IsBuiltin: N' = '' ']'
+ echo IsBuiltin: $'N\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Filename: btsync_1.4.110_arm_007.zpkg'
++ '[' -z 'Filename: btsync_1.4.110_arm_007.zpkg' ']'
++ echo 'Filename: btsync_1.4.110_arm_007.zpkg'
+ line='Filename: btsync_1.4.110_arm_007.zpkg'
+ '[' 'Filename: btsync_1.4.110_arm_007.zpkg' = '' ']'
+ echo Filename: $'btsync_1.4.110_arm_007.zpkg\r'
+ read line
++ StripLeadingAndTrailingSpaces 'MD5SUM: c3fd30359645d08de358dd7db23098e3'
++ '[' -z 'MD5SUM: c3fd30359645d08de358dd7db23098e3' ']'
++ echo 'MD5SUM: c3fd30359645d08de358dd7db23098e3'
+ line='MD5SUM: c3fd30359645d08de358dd7db23098e3'
+ '[' 'MD5SUM: c3fd30359645d08de358dd7db23098e3' = '' ']'
+ echo MD5SUM: $'c3fd30359645d08de358dd7db23098e3\r'
+ read line
++ StripLeadingAndTrailingSpaces $'\r'
++ '[' -z $'\r' ']'
++ echo $'\r'
+ line=$'\r'
+ '[' $'\r' = '' ']'
+ echo $'\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Package: anyterm'
++ '[' -z 'Package: anyterm' ']'
++ echo 'Package: anyterm'
+ line='Package: anyterm'
+ '[' 'Package: anyterm' = '' ']'
+ echo Package: $'anyterm\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Version: 9652zypkg001'
++ '[' -z 'Version: 9652zypkg001' ']'
++ echo 'Version: 9652zypkg001'
+ line='Version: 9652zypkg001'
+ '[' 'Version: 9652zypkg001' = '' ']'
+ echo Version: $'9652zypkg001\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Description: Anyterm. A command shell in a browser'
++ '[' -z 'Description: Anyterm. A command shell in a browser' ']'
++ echo 'Description: Anyterm. A command shell in a browser'
+ line='Description: Anyterm. A command shell in a browser'
+ '[' 'Description: Anyterm. A command shell in a browser' = '' ']'
+ echo Description: Anyterm. A command shell in a $'browser\r'
+ read line
++ StripLeadingAndTrailingSpaces $'Depends:\r'
++ '[' -z $'Depends:\r' ']'
++ echo $'Depends:\r'
+ line=$'Depends:\r'
+ '[' $'Depends:\r' = '' ']'
+ echo $'Depends:\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Size: 150000'
++ '[' -z 'Size: 150000' ']'
++ echo 'Size: 150000'
+ line='Size: 150000'
+ '[' 'Size: 150000' = '' ']'
+ echo Size: $'150000\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Installed-Size: 40000'
++ '[' -z 'Installed-Size: 40000' ']'
++ echo 'Installed-Size: 40000'
+ line='Installed-Size: 40000'
+ '[' 'Installed-Size: 40000' = '' ']'
+ echo Installed-Size: $'40000\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Architecture: arm'
++ '[' -z 'Architecture: arm' ']'
++ echo 'Architecture: arm'
+ line='Architecture: arm'
+ '[' 'Architecture: arm' = '' ']'
+ echo Architecture: $'arm\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Zy-Model: NSA-210, NSA-221, NSA-310, NSA-320, NSA-325'
++ '[' -z 'Zy-Model: NSA-210, NSA-221, NSA-310, NSA-320, NSA-325' ']'
++ echo 'Zy-Model: NSA-210, NSA-221, NSA-310, NSA-320, NSA-325'
+ line='Zy-Model: NSA-210, NSA-221, NSA-310, NSA-320, NSA-325'
+ '[' 'Zy-Model: NSA-210, NSA-221, NSA-310, NSA-320, NSA-325' = '' ']'
+ echo Zy-Model: NSA-210, NSA-221, NSA-310, NSA-320, $'NSA-325\r'
+ read line
++ StripLeadingAndTrailingSpaces 'IsBuiltin: N'
++ '[' -z 'IsBuiltin: N' ']'
++ echo 'IsBuiltin: N'
+ line='IsBuiltin: N'
+ '[' 'IsBuiltin: N' = '' ']'
+ echo IsBuiltin: $'N\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Filename: anyterm_9652_arm_001.zpkg'
++ '[' -z 'Filename: anyterm_9652_arm_001.zpkg' ']'
++ echo 'Filename: anyterm_9652_arm_001.zpkg'
+ line='Filename: anyterm_9652_arm_001.zpkg'
+ '[' 'Filename: anyterm_9652_arm_001.zpkg' = '' ']'
+ echo Filename: $'anyterm_9652_arm_001.zpkg\r'
+ read line
++ StripLeadingAndTrailingSpaces 'MD5SUM: 454f88310866dea6038f08bbbcc44b42'
++ '[' -z 'MD5SUM: 454f88310866dea6038f08bbbcc44b42' ']'
++ echo 'MD5SUM: 454f88310866dea6038f08bbbcc44b42'
+ line='MD5SUM: 454f88310866dea6038f08bbbcc44b42'
+ '[' 'MD5SUM: 454f88310866dea6038f08bbbcc44b42' = '' ']'
+ echo MD5SUM: $'454f88310866dea6038f08bbbcc44b42\r'
+ read line
++ StripLeadingAndTrailingSpaces $'\r'
++ '[' -z $'\r' ']'
++ echo $'\r'
+ line=$'\r'
+ '[' $'\r' = '' ']'
+ echo $'\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Package: MetaRepository'
++ '[' -z 'Package: MetaRepository' ']'
++ echo 'Package: MetaRepository'
+ line='Package: MetaRepository'
+ '[' 'Package: MetaRepository' = '' ']'
+ echo Package: $'MetaRepository\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Version: 20181001zypkg015'
++ '[' -z 'Version: 20181001zypkg015' ']'
++ echo 'Version: 20181001zypkg015'
+ line='Version: 20181001zypkg015'
+ '[' 'Version: 20181001zypkg015' = '' ']'
+ echo Version: $'20181001zypkg015\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Description: MetaRepository for zypkgs.'
++ '[' -z 'Description: MetaRepository for zypkgs.' ']'
++ echo 'Description: MetaRepository for zypkgs.'
+ line='Description: MetaRepository for zypkgs.'
+ '[' 'Description: MetaRepository for zypkgs.' = '' ']'
+ echo Description: MetaRepository for $'zypkgs.\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Depends: '
++ '[' -z 'Depends: ' ']'
++ echo 'Depends: '
+ line='Depends: '
+ '[' 'Depends: ' = '' ']'
+ echo Depends: $'\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Size: 184320'
++ '[' -z 'Size: 184320' ']'
++ echo 'Size: 184320'
+ line='Size: 184320'
+ '[' 'Size: 184320' = '' ']'
+ echo Size: $'184320\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Installed-Size: 491520'
++ '[' -z 'Installed-Size: 491520' ']'
++ echo 'Installed-Size: 491520'
+ line='Installed-Size: 491520'
+ '[' 'Installed-Size: 491520' = '' ']'
+ echo Installed-Size: $'491520\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Architecture: arm'
++ '[' -z 'Architecture: arm' ']'
++ echo 'Architecture: arm'
+ line='Architecture: arm'
+ '[' 'Architecture: arm' = '' ']'
+ echo Architecture: $'arm\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Zy-Model: all'
++ '[' -z 'Zy-Model: all' ']'
++ echo 'Zy-Model: all'
+ line='Zy-Model: all'
+ '[' 'Zy-Model: all' = '' ']'
+ echo Zy-Model: $'all\r'
+ read line
++ StripLeadingAndTrailingSpaces 'IsBuiltin: N'
++ '[' -z 'IsBuiltin: N' ']'
++ echo 'IsBuiltin: N'
+ line='IsBuiltin: N'
+ '[' 'IsBuiltin: N' = '' ']'
+ echo IsBuiltin: $'N\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Filename: MetaRepository_20181001_arm_015.zpkg'
++ '[' -z 'Filename: MetaRepository_20181001_arm_015.zpkg' ']'
++ echo 'Filename: MetaRepository_20181001_arm_015.zpkg'
+ line='Filename: MetaRepository_20181001_arm_015.zpkg'
+ '[' 'Filename: MetaRepository_20181001_arm_015.zpkg' = '' ']'
+ echo Filename: $'MetaRepository_20181001_arm_015.zpkg\r'
+ read line
++ StripLeadingAndTrailingSpaces 'MD5SUM: 62687de76004443c3f498ae0b4cbc154'
++ '[' -z 'MD5SUM: 62687de76004443c3f498ae0b4cbc154' ']'
++ echo 'MD5SUM: 62687de76004443c3f498ae0b4cbc154'
+ line='MD5SUM: 62687de76004443c3f498ae0b4cbc154'
+ '[' 'MD5SUM: 62687de76004443c3f498ae0b4cbc154' = '' ']'
+ echo MD5SUM: $'62687de76004443c3f498ae0b4cbc154\r'
+ read line
++ StripLeadingAndTrailingSpaces $'\r'
++ '[' -z $'\r' ']'
++ echo $'\r'
+ line=$'\r'
+ '[' $'\r' = '' ']'
+ echo $'\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Package: Dropbear'
++ '[' -z 'Package: Dropbear' ']'
++ echo 'Package: Dropbear'
+ line='Package: Dropbear'
+ '[' 'Package: Dropbear' = '' ']'
+ echo Package: $'Dropbear\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Version: 2014.63zypkg002'
++ '[' -z 'Version: 2014.63zypkg002' ']'
++ echo 'Version: 2014.63zypkg002'
+ line='Version: 2014.63zypkg002'
+ '[' 'Version: 2014.63zypkg002' = '' ']'
+ echo Version: $'2014.63zypkg002\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Description: A lightweight SSH/SCP server and client. '
++ '[' -z 'Description: A lightweight SSH/SCP server and client. ' ']'
++ echo 'Description: A lightweight SSH/SCP server and client. '
+ line='Description: A lightweight SSH/SCP server and client. '
+ '[' 'Description: A lightweight SSH/SCP server and client. ' = '' ']'
+ echo Description: A lightweight SSH/SCP server and client. $'\r'
+ read line
++ StripLeadingAndTrailingSpaces $'Depends:\r'
++ '[' -z $'Depends:\r' ']'
++ echo $'Depends:\r'
+ line=$'Depends:\r'
+ '[' $'Depends:\r' = '' ']'
+ echo $'Depends:\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Size: 500000'
++ '[' -z 'Size: 500000' ']'
++ echo 'Size: 500000'
+ line='Size: 500000'
+ '[' 'Size: 500000' = '' ']'
+ echo Size: $'500000\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Installed-Size: 1000000'
++ '[' -z 'Installed-Size: 1000000' ']'
++ echo 'Installed-Size: 1000000'
+ line='Installed-Size: 1000000'
+ '[' 'Installed-Size: 1000000' = '' ']'
+ echo Installed-Size: $'1000000\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Architecture: arm'
++ '[' -z 'Architecture: arm' ']'
++ echo 'Architecture: arm'
+ line='Architecture: arm'
+ '[' 'Architecture: arm' = '' ']'
+ echo Architecture: $'arm\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Zy-Model: NSA-210, NSA-221, NSA-310, NSA-320, NSA-325'
++ '[' -z 'Zy-Model: NSA-210, NSA-221, NSA-310, NSA-320, NSA-325' ']'
++ echo 'Zy-Model: NSA-210, NSA-221, NSA-310, NSA-320, NSA-325'
+ line='Zy-Model: NSA-210, NSA-221, NSA-310, NSA-320, NSA-325'
+ '[' 'Zy-Model: NSA-210, NSA-221, NSA-310, NSA-320, NSA-325' = '' ']'
+ echo Zy-Model: NSA-210, NSA-221, NSA-310, NSA-320, $'NSA-325\r'
+ read line
++ StripLeadingAndTrailingSpaces 'IsBuiltin: N'
++ '[' -z 'IsBuiltin: N' ']'
++ echo 'IsBuiltin: N'
+ line='IsBuiltin: N'
+ '[' 'IsBuiltin: N' = '' ']'
+ echo IsBuiltin: $'N\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Filename: Dropbear_2014.63_arm_002.zpkg'
++ '[' -z 'Filename: Dropbear_2014.63_arm_002.zpkg' ']'
++ echo 'Filename: Dropbear_2014.63_arm_002.zpkg'
+ line='Filename: Dropbear_2014.63_arm_002.zpkg'
+ '[' 'Filename: Dropbear_2014.63_arm_002.zpkg' = '' ']'
+ echo Filename: $'Dropbear_2014.63_arm_002.zpkg\r'
+ read line
++ StripLeadingAndTrailingSpaces 'MD5SUM: e30140be2a8b416fc06a2e89c21fe7b5'
++ '[' -z 'MD5SUM: e30140be2a8b416fc06a2e89c21fe7b5' ']'
++ echo 'MD5SUM: e30140be2a8b416fc06a2e89c21fe7b5'
+ line='MD5SUM: e30140be2a8b416fc06a2e89c21fe7b5'
+ '[' 'MD5SUM: e30140be2a8b416fc06a2e89c21fe7b5' = '' ']'
+ echo MD5SUM: $'e30140be2a8b416fc06a2e89c21fe7b5\r'
+ read line
++ StripLeadingAndTrailingSpaces $'\r'
++ '[' -z $'\r' ']'
++ echo $'\r'
+ line=$'\r'
+ '[' $'\r' = '' ']'
+ echo $'\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Package: MidnightCommander'
++ '[' -z 'Package: MidnightCommander' ']'
++ echo 'Package: MidnightCommander'
+ line='Package: MidnightCommander'
+ '[' 'Package: MidnightCommander' = '' ']'
+ echo Package: $'MidnightCommander\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Version: 4.6.1zypkg003'
++ '[' -z 'Version: 4.6.1zypkg003' ']'
++ echo 'Version: 4.6.1zypkg003'
+ line='Version: 4.6.1zypkg003'
+ '[' 'Version: 4.6.1zypkg003' = '' ']'
+ echo Version: $'4.6.1zypkg003\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Description: A text-based filemanager for the console.'
++ '[' -z 'Description: A text-based filemanager for the console.' ']'
++ echo 'Description: A text-based filemanager for the console.'
+ line='Description: A text-based filemanager for the console.'
+ '[' 'Description: A text-based filemanager for the console.' = '' ']'
+ echo Description: A text-based filemanager for the $'console.\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Depends: '
++ '[' -z 'Depends: ' ']'
++ echo 'Depends: '
+ line='Depends: '
+ '[' 'Depends: ' = '' ']'
+ echo Depends: $'\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Size: 944640'
++ '[' -z 'Size: 944640' ']'
++ echo 'Size: 944640'
+ line='Size: 944640'
+ '[' 'Size: 944640' = '' ']'
+ echo Size: $'944640\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Installed-Size: 2519040'
++ '[' -z 'Installed-Size: 2519040' ']'
++ echo 'Installed-Size: 2519040'
+ line='Installed-Size: 2519040'
+ '[' 'Installed-Size: 2519040' = '' ']'
+ echo Installed-Size: $'2519040\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Architecture: arm'
++ '[' -z 'Architecture: arm' ']'
++ echo 'Architecture: arm'
+ line='Architecture: arm'
+ '[' 'Architecture: arm' = '' ']'
+ echo Architecture: $'arm\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Zy-Model: all'
++ '[' -z 'Zy-Model: all' ']'
++ echo 'Zy-Model: all'
+ line='Zy-Model: all'
+ '[' 'Zy-Model: all' = '' ']'
+ echo Zy-Model: $'all\r'
+ read line
++ StripLeadingAndTrailingSpaces 'IsBuiltin: N'
++ '[' -z 'IsBuiltin: N' ']'
++ echo 'IsBuiltin: N'
+ line='IsBuiltin: N'
+ '[' 'IsBuiltin: N' = '' ']'
+ echo IsBuiltin: $'N\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Filename: MidnightCommander_4.6.1_arm_003.zpkg'
++ '[' -z 'Filename: MidnightCommander_4.6.1_arm_003.zpkg' ']'
++ echo 'Filename: MidnightCommander_4.6.1_arm_003.zpkg'
+ line='Filename: MidnightCommander_4.6.1_arm_003.zpkg'
+ '[' 'Filename: MidnightCommander_4.6.1_arm_003.zpkg' = '' ']'
+ echo Filename: $'MidnightCommander_4.6.1_arm_003.zpkg\r'
+ read line
++ StripLeadingAndTrailingSpaces 'MD5SUM: 28143511cfb7f557f320a7f0888b0884'
++ '[' -z 'MD5SUM: 28143511cfb7f557f320a7f0888b0884' ']'
++ echo 'MD5SUM: 28143511cfb7f557f320a7f0888b0884'
+ line='MD5SUM: 28143511cfb7f557f320a7f0888b0884'
+ '[' 'MD5SUM: 28143511cfb7f557f320a7f0888b0884' = '' ']'
+ echo MD5SUM: $'28143511cfb7f557f320a7f0888b0884\r'
+ read line
++ StripLeadingAndTrailingSpaces $'\r'
++ '[' -z $'\r' ']'
++ echo $'\r'
+ line=$'\r'
+ '[' $'\r' = '' ']'
+ echo $'\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Package: Tweaks'
++ '[' -z 'Package: Tweaks' ']'
++ echo 'Package: Tweaks'
+ line='Package: Tweaks'
+ '[' 'Package: Tweaks' = '' ']'
+ echo Package: $'Tweaks\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Version: 20200310zypkg035'
++ '[' -z 'Version: 20200310zypkg035' ']'
++ echo 'Version: 20200310zypkg035'
+ line='Version: 20200310zypkg035'
+ '[' 'Version: 20200310zypkg035' = '' ']'
+ echo Version: $'20200310zypkg035\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Description: Firmware <a href=http://zyxel.nas-central.org/wiki/3rd_party_zypkgs#Tweaks>Tweaks</a>. Tweaks for daemons and stuff available in the firmware. Telnet, cron, ...,'
++ '[' -z 'Description: Firmware <a href=http://zyxel.nas-central.org/wiki/3rd_party_zypkgs#Tweaks>Tweaks</a>. Tweaks for daemons and stuff available in the firmware. Telnet, cron, ...,' ']'
++ echo 'Description: Firmware <a href=http://zyxel.nas-central.org/wiki/3rd_party_zypkgs#Tweaks>Tweaks</a>. Tweaks for daemons and stuff available in the firmware. Telnet, cron, ...,'
+ line='Description: Firmware <a href=http://zyxel.nas-central.org/wiki/3rd_party_zypkgs#Tweaks>Tweaks</a>. Tweaks for daemons and stuff available in the firmware. Telnet, cron, ...,'
+ '[' 'Description: Firmware <a href=http://zyxel.nas-central.org/wiki/3rd_party_zypkgs#Tweaks>Tweaks</a>. Tweaks for daemons and stuff available in the firmware. Telnet, cron, ...,' = '' ']'
+ echo Description: Firmware '<a' 'href=http://zyxel.nas-central.org/wiki/3rd_party_zypkgs#Tweaks>Tweaks</a>.' Tweaks for daemons and stuff available in the firmware. Telnet, cron, $'...,\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Depends: '
++ '[' -z 'Depends: ' ']'
++ echo 'Depends: '
+ line='Depends: '
+ '[' 'Depends: ' = '' ']'
+ echo Depends: $'\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Size: 159744'
++ '[' -z 'Size: 159744' ']'
++ echo 'Size: 159744'
+ line='Size: 159744'
+ '[' 'Size: 159744' = '' ']'
+ echo Size: $'159744\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Installed-Size: 425984'
++ '[' -z 'Installed-Size: 425984' ']'
++ echo 'Installed-Size: 425984'
+ line='Installed-Size: 425984'
+ '[' 'Installed-Size: 425984' = '' ']'
+ echo Installed-Size: $'425984\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Architecture: arm'
++ '[' -z 'Architecture: arm' ']'
++ echo 'Architecture: arm'
+ line='Architecture: arm'
+ '[' 'Architecture: arm' = '' ']'
+ echo Architecture: $'arm\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Zy-Model: all'
++ '[' -z 'Zy-Model: all' ']'
++ echo 'Zy-Model: all'
+ line='Zy-Model: all'
+ '[' 'Zy-Model: all' = '' ']'
+ echo Zy-Model: $'all\r'
+ read line
++ StripLeadingAndTrailingSpaces 'IsBuiltin: N'
++ '[' -z 'IsBuiltin: N' ']'
++ echo 'IsBuiltin: N'
+ line='IsBuiltin: N'
+ '[' 'IsBuiltin: N' = '' ']'
+ echo IsBuiltin: $'N\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Filename: Tweaks_20200310_arm_035.zpkg'
++ '[' -z 'Filename: Tweaks_20200310_arm_035.zpkg' ']'
++ echo 'Filename: Tweaks_20200310_arm_035.zpkg'
+ line='Filename: Tweaks_20200310_arm_035.zpkg'
+ '[' 'Filename: Tweaks_20200310_arm_035.zpkg' = '' ']'
+ echo Filename: $'Tweaks_20200310_arm_035.zpkg\r'
+ read line
++ StripLeadingAndTrailingSpaces 'MD5SUM: bf5a4ac7a66d492c0d3c11da96615d88'
++ '[' -z 'MD5SUM: bf5a4ac7a66d492c0d3c11da96615d88' ']'
++ echo 'MD5SUM: bf5a4ac7a66d492c0d3c11da96615d88'
+ line='MD5SUM: bf5a4ac7a66d492c0d3c11da96615d88'
+ '[' 'MD5SUM: bf5a4ac7a66d492c0d3c11da96615d88' = '' ']'
+ echo MD5SUM: $'bf5a4ac7a66d492c0d3c11da96615d88\r'
+ read line
++ StripLeadingAndTrailingSpaces $'\r'
++ '[' -z $'\r' ']'
++ echo $'\r'
+ line=$'\r'
+ '[' $'\r' = '' ']'
+ echo $'\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Package: RandomTools'
++ '[' -z 'Package: RandomTools' ']'
++ echo 'Package: RandomTools'
+ line='Package: RandomTools'
+ '[' 'Package: RandomTools' = '' ']'
+ echo Package: $'RandomTools\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Version: 20170220zypkg012'
++ '[' -z 'Version: 20170220zypkg012' ']'
++ echo 'Version: 20170220zypkg012'
+ line='Version: 20170220zypkg012'
+ '[' 'Version: 20170220zypkg012' = '' ']'
+ echo Version: $'20170220zypkg012\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Description: <a href=http://www.rarlab.com/rar_add.htm>unrar 5.4.5</a>, <a href=http://www.gnu.org/software/screen/>screen 4.2.1</a>, <a href=http://nano-editor.org/>nano 2.2.6</a>, <a href=https://en.wikipedia.org/wiki/Su_%28Unix%29>su 8.15</a>, <a href=http://directory.fsf.org/wiki/Sudo>sudo 1.6.8p12</a>, <a href=http://www.ex-parrot.com/pdw/iftop/>iftop 1.0pre4</a>, <a href=http://hisham.hm/htop/>htop 1.0.3</a>, <a href=http://sourceforge.net/projects/hdparm/>hdparm 9.43</a>, <a href=http://www.ibm.com/developerworks/aix/library/au-analyze_aix/>nmon 14i</a>, <a href=https://iperf.fr/>iperf 2.0.5, iperf3 3.0.3</a>, <a href=http://linux.about.com/library/cmd/blcmdl1_ldd.htm>ldd-2.8</a>, <a href=http://curlftpfs.sourceforge.net/>curlftpfs 0.9.2</a>, <a href=http://sourceforge.net/projects/strace/>strace 4.9</a>, <a href=https://rsync.samba.org/>rsync 3.1.1</a>, <a href=http://www.iana.org/>iana protocols&services</a>, <a href=http://www.darwinsys.com/file/>file 5.25</a>, <a href=https://dev.yorhel.nl/ncdu>ncdu 1.12</a>, <a href=https://en.wikipedia.org/wiki/Certificate_authority>ca-certificates 20161130</a>'
++ '[' -z 'Description: <a href=http://www.rarlab.com/rar_add.htm>unrar 5.4.5</a>, <a href=http://www.gnu.org/software/screen/>screen 4.2.1</a>, <a href=http://nano-editor.org/>nano 2.2.6</a>, <a href=https://en.wikipedia.org/wiki/Su_%28Unix%29>su 8.15</a>, <a href=http://directory.fsf.org/wiki/Sudo>sudo 1.6.8p12</a>, <a href=http://www.ex-parrot.com/pdw/iftop/>iftop 1.0pre4</a>, <a href=http://hisham.hm/htop/>htop 1.0.3</a>, <a href=http://sourceforge.net/projects/hdparm/>hdparm 9.43</a>, <a href=http://www.ibm.com/developerworks/aix/library/au-analyze_aix/>nmon 14i</a>, <a href=https://iperf.fr/>iperf 2.0.5, iperf3 3.0.3</a>, <a href=http://linux.about.com/library/cmd/blcmdl1_ldd.htm>ldd-2.8</a>, <a href=http://curlftpfs.sourceforge.net/>curlftpfs 0.9.2</a>, <a href=http://sourceforge.net/projects/strace/>strace 4.9</a>, <a href=https://rsync.samba.org/>rsync 3.1.1</a>, <a href=http://www.iana.org/>iana protocols&services</a>, <a href=http://www.darwinsys.com/file/>file 5.25</a>, <a href=https://dev.yorhel.nl/ncdu>ncdu 1.12</a>, <a href=https://en.wikipedia.org/wiki/Certificate_authority>ca-certificates 20161130</a>' ']'
++ echo 'Description: <a href=http://www.rarlab.com/rar_add.htm>unrar 5.4.5</a>, <a href=http://www.gnu.org/software/screen/>screen 4.2.1</a>, <a href=http://nano-editor.org/>nano 2.2.6</a>, <a href=https://en.wikipedia.org/wiki/Su_%28Unix%29>su 8.15</a>, <a href=http://directory.fsf.org/wiki/Sudo>sudo 1.6.8p12</a>, <a href=http://www.ex-parrot.com/pdw/iftop/>iftop 1.0pre4</a>, <a href=http://hisham.hm/htop/>htop 1.0.3</a>, <a href=http://sourceforge.net/projects/hdparm/>hdparm 9.43</a>, <a href=http://www.ibm.com/developerworks/aix/library/au-analyze_aix/>nmon 14i</a>, <a href=https://iperf.fr/>iperf 2.0.5, iperf3 3.0.3</a>, <a href=http://linux.about.com/library/cmd/blcmdl1_ldd.htm>ldd-2.8</a>, <a href=http://curlftpfs.sourceforge.net/>curlftpfs 0.9.2</a>, <a href=http://sourceforge.net/projects/strace/>strace 4.9</a>, <a href=https://rsync.samba.org/>rsync 3.1.1</a>, <a href=http://www.iana.org/>iana protocols&services</a>, <a href=http://www.darwinsys.com/file/>file 5.25</a>, <a href=https://dev.yorhel.nl/ncdu>ncdu 1.12</a>, <a href=https://en.wikipedia.org/wiki/Certificate_authority>ca-certificates 20161130</a>'
+ line='Description: <a href=http://www.rarlab.com/rar_add.htm>unrar 5.4.5</a>, <a href=http://www.gnu.org/software/screen/>screen 4.2.1</a>, <a href=http://nano-editor.org/>nano 2.2.6</a>, <a href=https://en.wikipedia.org/wiki/Su_%28Unix%29>su 8.15</a>, <a href=http://directory.fsf.org/wiki/Sudo>sudo 1.6.8p12</a>, <a href=http://www.ex-parrot.com/pdw/iftop/>iftop 1.0pre4</a>, <a href=http://hisham.hm/htop/>htop 1.0.3</a>, <a href=http://sourceforge.net/projects/hdparm/>hdparm 9.43</a>, <a href=http://www.ibm.com/developerworks/aix/library/au-analyze_aix/>nmon 14i</a>, <a href=https://iperf.fr/>iperf 2.0.5, iperf3 3.0.3</a>, <a href=http://linux.about.com/library/cmd/blcmdl1_ldd.htm>ldd-2.8</a>, <a href=http://curlftpfs.sourceforge.net/>curlftpfs 0.9.2</a>, <a href=http://sourceforge.net/projects/strace/>strace 4.9</a>, <a href=https://rsync.samba.org/>rsync 3.1.1</a>, <a href=http://www.iana.org/>iana protocols&services</a>, <a href=http://www.darwinsys.com/file/>file 5.25</a>, <a href=https://dev.yorhel.nl/ncdu>ncdu 1.12</a>, <a href=https://en.wikipedia.org/wiki/Certificate_authority>ca-certificates 20161130</a>'
+ '[' 'Description: <a href=http://www.rarlab.com/rar_add.htm>unrar 5.4.5</a>, <a href=http://www.gnu.org/software/screen/>screen 4.2.1</a>, <a href=http://nano-editor.org/>nano 2.2.6</a>, <a href=https://en.wikipedia.org/wiki/Su_%28Unix%29>su 8.15</a>, <a href=http://directory.fsf.org/wiki/Sudo>sudo 1.6.8p12</a>, <a href=http://www.ex-parrot.com/pdw/iftop/>iftop 1.0pre4</a>, <a href=http://hisham.hm/htop/>htop 1.0.3</a>, <a href=http://sourceforge.net/projects/hdparm/>hdparm 9.43</a>, <a href=http://www.ibm.com/developerworks/aix/library/au-analyze_aix/>nmon 14i</a>, <a href=https://iperf.fr/>iperf 2.0.5, iperf3 3.0.3</a>, <a href=http://linux.about.com/library/cmd/blcmdl1_ldd.htm>ldd-2.8</a>, <a href=http://curlftpfs.sourceforge.net/>curlftpfs 0.9.2</a>, <a href=http://sourceforge.net/projects/strace/>strace 4.9</a>, <a href=https://rsync.samba.org/>rsync 3.1.1</a>, <a href=http://www.iana.org/>iana protocols&services</a>, <a href=http://www.darwinsys.com/file/>file 5.25</a>, <a href=https://dev.yorhel.nl/ncdu>ncdu 1.12</a>, <a href=https://en.wikipedia.org/wiki/Certificate_authority>ca-certificates 20161130</a>' = '' ']'
+ echo Description: '<a' 'href=http://www.rarlab.com/rar_add.htm>unrar' '5.4.5</a>,' '<a' 'href=http://www.gnu.org/software/screen/>screen' '4.2.1</a>,' '<a' 'href=http://nano-editor.org/>nano' '2.2.6</a>,' '<a' 'href=https://en.wikipedia.org/wiki/Su_%28Unix%29>su' '8.15</a>,' '<a' 'href=http://directory.fsf.org/wiki/Sudo>sudo' '1.6.8p12</a>,' '<a' 'href=http://www.ex-parrot.com/pdw/iftop/>iftop' '1.0pre4</a>,' '<a' 'href=http://hisham.hm/htop/>htop' '1.0.3</a>,' '<a' 'href=http://sourceforge.net/projects/hdparm/>hdparm' '9.43</a>,' '<a' 'href=http://www.ibm.com/developerworks/aix/library/au-analyze_aix/>nmon' '14i</a>,' '<a' 'href=https://iperf.fr/>iperf' 2.0.5, iperf3 '3.0.3</a>,' '<a' 'href=http://linux.about.com/library/cmd/blcmdl1_ldd.htm>ldd-2.8</a>,' '<a' 'href=http://curlftpfs.sourceforge.net/>curlftpfs' '0.9.2</a>,' '<a' 'href=http://sourceforge.net/projects/strace/>strace' '4.9</a>,' '<a' 'href=https://rsync.samba.org/>rsync' '3.1.1</a>,' '<a' 'href=http://www.iana.org/>iana' 'protocols&services</a>,' '<a' 'href=http://www.darwinsys.com/file/>file' '5.25</a>,' '<a' 'href=https://dev.yorhel.nl/ncdu>ncdu' '1.12</a>,' '<a' 'href=https://en.wikipedia.org/wiki/Certificate_authority>ca-certificates' '20161130</a>'
+ read line
++ StripLeadingAndTrailingSpaces 'Depends: '
++ '[' -z 'Depends: ' ']'
++ echo 'Depends: '
+ line='Depends: '
+ '[' 'Depends: ' = '' ']'
+ echo Depends: $'\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Size: 3615744'
++ '[' -z 'Size: 3615744' ']'
++ echo 'Size: 3615744'
+ line='Size: 3615744'
+ '[' 'Size: 3615744' = '' ']'
+ echo Size: $'3615744\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Installed-Size: 9641984'
++ '[' -z 'Installed-Size: 9641984' ']'
++ echo 'Installed-Size: 9641984'
+ line='Installed-Size: 9641984'
+ '[' 'Installed-Size: 9641984' = '' ']'
+ echo Installed-Size: $'9641984\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Architecture: arm'
++ '[' -z 'Architecture: arm' ']'
++ echo 'Architecture: arm'
+ line='Architecture: arm'
+ '[' 'Architecture: arm' = '' ']'
+ echo Architecture: $'arm\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Zy-Model: all'
++ '[' -z 'Zy-Model: all' ']'
++ echo 'Zy-Model: all'
+ line='Zy-Model: all'
+ '[' 'Zy-Model: all' = '' ']'
+ echo Zy-Model: $'all\r'
+ read line
++ StripLeadingAndTrailingSpaces 'IsBuiltin: N'
++ '[' -z 'IsBuiltin: N' ']'
++ echo 'IsBuiltin: N'
+ line='IsBuiltin: N'
+ '[' 'IsBuiltin: N' = '' ']'
+ echo IsBuiltin: $'N\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Filename: RandomTools_20170220_arm_012.zpkg'
++ '[' -z 'Filename: RandomTools_20170220_arm_012.zpkg' ']'
++ echo 'Filename: RandomTools_20170220_arm_012.zpkg'
+ line='Filename: RandomTools_20170220_arm_012.zpkg'
+ '[' 'Filename: RandomTools_20170220_arm_012.zpkg' = '' ']'
+ echo Filename: $'RandomTools_20170220_arm_012.zpkg\r'
+ read line
++ StripLeadingAndTrailingSpaces 'MD5SUM: 00faeacafb1dc5e72dfcc75d9d9a37c7'
++ '[' -z 'MD5SUM: 00faeacafb1dc5e72dfcc75d9d9a37c7' ']'
++ echo 'MD5SUM: 00faeacafb1dc5e72dfcc75d9d9a37c7'
+ line='MD5SUM: 00faeacafb1dc5e72dfcc75d9d9a37c7'
+ '[' 'MD5SUM: 00faeacafb1dc5e72dfcc75d9d9a37c7' = '' ']'
+ echo MD5SUM: $'00faeacafb1dc5e72dfcc75d9d9a37c7\r'
+ read line
++ StripLeadingAndTrailingSpaces $'\r'
++ '[' -z $'\r' ']'
++ echo $'\r'
+ line=$'\r'
+ '[' $'\r' = '' ']'
+ echo $'\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Package: EncryptedShares'
++ '[' -z 'Package: EncryptedShares' ']'
++ echo 'Package: EncryptedShares'
+ line='Package: EncryptedShares'
+ '[' 'Package: EncryptedShares' = '' ']'
+ echo Package: $'EncryptedShares\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Version: 20140603zypkg001'
++ '[' -z 'Version: 20140603zypkg001' ']'
++ echo 'Version: 20140603zypkg001'
+ line='Version: 20140603zypkg001'
+ '[' 'Version: 20140603zypkg001' = '' ']'
+ echo Version: $'20140603zypkg001\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Description: Encrypted shares. Create and maintain encrypted shares using encfs'
++ '[' -z 'Description: Encrypted shares. Create and maintain encrypted shares using encfs' ']'
++ echo 'Description: Encrypted shares. Create and maintain encrypted shares using encfs'
+ line='Description: Encrypted shares. Create and maintain encrypted shares using encfs'
+ '[' 'Description: Encrypted shares. Create and maintain encrypted shares using encfs' = '' ']'
+ echo Description: Encrypted shares. Create and maintain encrypted shares using $'encfs\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Depends: Tweaks'
++ '[' -z 'Depends: Tweaks' ']'
++ echo 'Depends: Tweaks'
+ line='Depends: Tweaks'
+ '[' 'Depends: Tweaks' = '' ']'
+ echo Depends: $'Tweaks\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Size: 640000'
++ '[' -z 'Size: 640000' ']'
++ echo 'Size: 640000'
+ line='Size: 640000'
+ '[' 'Size: 640000' = '' ']'
+ echo Size: $'640000\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Installed-Size: 2100000'
++ '[' -z 'Installed-Size: 2100000' ']'
++ echo 'Installed-Size: 2100000'
+ line='Installed-Size: 2100000'
+ '[' 'Installed-Size: 2100000' = '' ']'
+ echo Installed-Size: $'2100000\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Architecture: arm'
++ '[' -z 'Architecture: arm' ']'
++ echo 'Architecture: arm'
+ line='Architecture: arm'
+ '[' 'Architecture: arm' = '' ']'
+ echo Architecture: $'arm\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Zy-Model: NSA-210, NSA-221, NSA-310, NSA-320, NSA-325'
++ '[' -z 'Zy-Model: NSA-210, NSA-221, NSA-310, NSA-320, NSA-325' ']'
++ echo 'Zy-Model: NSA-210, NSA-221, NSA-310, NSA-320, NSA-325'
+ line='Zy-Model: NSA-210, NSA-221, NSA-310, NSA-320, NSA-325'
+ '[' 'Zy-Model: NSA-210, NSA-221, NSA-310, NSA-320, NSA-325' = '' ']'
+ echo Zy-Model: NSA-210, NSA-221, NSA-310, NSA-320, $'NSA-325\r'
+ read line
++ StripLeadingAndTrailingSpaces 'IsBuiltin: N'
++ '[' -z 'IsBuiltin: N' ']'
++ echo 'IsBuiltin: N'
+ line='IsBuiltin: N'
+ '[' 'IsBuiltin: N' = '' ']'
+ echo IsBuiltin: $'N\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Filename: EncryptedShares_20140603_arm_001.zpkg'
++ '[' -z 'Filename: EncryptedShares_20140603_arm_001.zpkg' ']'
++ echo 'Filename: EncryptedShares_20140603_arm_001.zpkg'
+ line='Filename: EncryptedShares_20140603_arm_001.zpkg'
+ '[' 'Filename: EncryptedShares_20140603_arm_001.zpkg' = '' ']'
+ echo Filename: $'EncryptedShares_20140603_arm_001.zpkg\r'
+ read line
++ StripLeadingAndTrailingSpaces 'MD5SUM: af08da653de7e4c49f2d9b7dba138434'
++ '[' -z 'MD5SUM: af08da653de7e4c49f2d9b7dba138434' ']'
++ echo 'MD5SUM: af08da653de7e4c49f2d9b7dba138434'
+ line='MD5SUM: af08da653de7e4c49f2d9b7dba138434'
+ '[' 'MD5SUM: af08da653de7e4c49f2d9b7dba138434' = '' ']'
+ echo MD5SUM: $'af08da653de7e4c49f2d9b7dba138434\r'
+ read line
++ StripLeadingAndTrailingSpaces $'\r'
++ '[' -z $'\r' ']'
++ echo $'\r'
+ line=$'\r'
+ '[' $'\r' = '' ']'
+ echo $'\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Package: exFAT'
++ '[' -z 'Package: exFAT' ']'
++ echo 'Package: exFAT'
+ line='Package: exFAT'
+ '[' 'Package: exFAT' = '' ']'
+ echo Package: $'exFAT\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Version: 1.0.1zypkg001'
++ '[' -z 'Version: 1.0.1zypkg001' ']'
++ echo 'Version: 1.0.1zypkg001'
+ line='Version: 1.0.1zypkg001'
+ '[' 'Version: 1.0.1zypkg001' = '' ']'
+ echo Version: $'1.0.1zypkg001\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Description: exFAT support. exFAT disks will be auto-mounted'
++ '[' -z 'Description: exFAT support. exFAT disks will be auto-mounted' ']'
++ echo 'Description: exFAT support. exFAT disks will be auto-mounted'
+ line='Description: exFAT support. exFAT disks will be auto-mounted'
+ '[' 'Description: exFAT support. exFAT disks will be auto-mounted' = '' ']'
+ echo Description: exFAT support. exFAT disks will be $'auto-mounted\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Depends: '
++ '[' -z 'Depends: ' ']'
++ echo 'Depends: '
+ line='Depends: '
+ '[' 'Depends: ' = '' ']'
+ echo Depends: $'\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Size: 100000'
++ '[' -z 'Size: 100000' ']'
++ echo 'Size: 100000'
+ line='Size: 100000'
+ '[' 'Size: 100000' = '' ']'
+ echo Size: $'100000\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Installed-Size: 350000'
++ '[' -z 'Installed-Size: 350000' ']'
++ echo 'Installed-Size: 350000'
+ line='Installed-Size: 350000'
+ '[' 'Installed-Size: 350000' = '' ']'
+ echo Installed-Size: $'350000\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Architecture: arm'
++ '[' -z 'Architecture: arm' ']'
++ echo 'Architecture: arm'
+ line='Architecture: arm'
+ '[' 'Architecture: arm' = '' ']'
+ echo Architecture: $'arm\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Zy-Model: NSA-210, NSA-221, NSA-310, NSA-320, NSA-325'
++ '[' -z 'Zy-Model: NSA-210, NSA-221, NSA-310, NSA-320, NSA-325' ']'
++ echo 'Zy-Model: NSA-210, NSA-221, NSA-310, NSA-320, NSA-325'
+ line='Zy-Model: NSA-210, NSA-221, NSA-310, NSA-320, NSA-325'
+ '[' 'Zy-Model: NSA-210, NSA-221, NSA-310, NSA-320, NSA-325' = '' ']'
+ echo Zy-Model: NSA-210, NSA-221, NSA-310, NSA-320, $'NSA-325\r'
+ read line
++ StripLeadingAndTrailingSpaces 'IsBuiltin: N'
++ '[' -z 'IsBuiltin: N' ']'
++ echo 'IsBuiltin: N'
+ line='IsBuiltin: N'
+ '[' 'IsBuiltin: N' = '' ']'
+ echo IsBuiltin: $'N\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Filename: exFAT_1.0.1_arm_001.zpkg'
++ '[' -z 'Filename: exFAT_1.0.1_arm_001.zpkg' ']'
++ echo 'Filename: exFAT_1.0.1_arm_001.zpkg'
+ line='Filename: exFAT_1.0.1_arm_001.zpkg'
+ '[' 'Filename: exFAT_1.0.1_arm_001.zpkg' = '' ']'
+ echo Filename: $'exFAT_1.0.1_arm_001.zpkg\r'
+ read line
++ StripLeadingAndTrailingSpaces 'MD5SUM: 1d11899d37bd423b042781525c83755a'
++ '[' -z 'MD5SUM: 1d11899d37bd423b042781525c83755a' ']'
++ echo 'MD5SUM: 1d11899d37bd423b042781525c83755a'
+ line='MD5SUM: 1d11899d37bd423b042781525c83755a'
+ '[' 'MD5SUM: 1d11899d37bd423b042781525c83755a' = '' ']'
+ echo MD5SUM: $'1d11899d37bd423b042781525c83755a\r'
+ read line
++ StripLeadingAndTrailingSpaces $'\r'
++ '[' -z $'\r' ']'
++ echo $'\r'
+ line=$'\r'
+ '[' $'\r' = '' ']'
+ echo $'\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Package: MuninLite'
++ '[' -z 'Package: MuninLite' ']'
++ echo 'Package: MuninLite'
+ line='Package: MuninLite'
+ '[' 'Package: MuninLite' = '' ']'
+ echo Package: $'MuninLite\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Version: 1.0.4zypkg003'
++ '[' -z 'Version: 1.0.4zypkg003' ']'
++ echo 'Version: 1.0.4zypkg003'
+ line='Version: 1.0.4zypkg003'
+ '[' 'Version: 1.0.4zypkg003' = '' ']'
+ echo Version: $'1.0.4zypkg003\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Description: A <a href="http://sourceforge.net/projects/muninlite/">lightweight</a> <a href="http://munin-monitoring.org/">Munin</a> node'
++ '[' -z 'Description: A <a href="http://sourceforge.net/projects/muninlite/">lightweight</a> <a href="http://munin-monitoring.org/">Munin</a> node' ']'
++ echo 'Description: A <a href="http://sourceforge.net/projects/muninlite/">lightweight</a> <a href="http://munin-monitoring.org/">Munin</a> node'
+ line='Description: A <a href="http://sourceforge.net/projects/muninlite/">lightweight</a> <a href="http://munin-monitoring.org/">Munin</a> node'
+ '[' 'Description: A <a href="http://sourceforge.net/projects/muninlite/">lightweight</a> <a href="http://munin-monitoring.org/">Munin</a> node' = '' ']'
+ echo Description: A '<a' 'href="http://sourceforge.net/projects/muninlite/">lightweight</a>' '<a' 'href="http://munin-monitoring.org/">Munin</a>' $'node\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Depends: MetaRepository'
++ '[' -z 'Depends: MetaRepository' ']'
++ echo 'Depends: MetaRepository'
+ line='Depends: MetaRepository'
+ '[' 'Depends: MetaRepository' = '' ']'
+ echo Depends: $'MetaRepository\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Size: 8500'
++ '[' -z 'Size: 8500' ']'
++ echo 'Size: 8500'
+ line='Size: 8500'
+ '[' 'Size: 8500' = '' ']'
+ echo Size: $'8500\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Installed-Size: 20000'
++ '[' -z 'Installed-Size: 20000' ']'
++ echo 'Installed-Size: 20000'
+ line='Installed-Size: 20000'
+ '[' 'Installed-Size: 20000' = '' ']'
+ echo Installed-Size: $'20000\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Architecture: arm'
++ '[' -z 'Architecture: arm' ']'
++ echo 'Architecture: arm'
+ line='Architecture: arm'
+ '[' 'Architecture: arm' = '' ']'
+ echo Architecture: $'arm\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Zy-Model: NSA-210, NSA-221, NSA-310, NSA-320, NSA-325'
++ '[' -z 'Zy-Model: NSA-210, NSA-221, NSA-310, NSA-320, NSA-325' ']'
++ echo 'Zy-Model: NSA-210, NSA-221, NSA-310, NSA-320, NSA-325'
+ line='Zy-Model: NSA-210, NSA-221, NSA-310, NSA-320, NSA-325'
+ '[' 'Zy-Model: NSA-210, NSA-221, NSA-310, NSA-320, NSA-325' = '' ']'
+ echo Zy-Model: NSA-210, NSA-221, NSA-310, NSA-320, $'NSA-325\r'
+ read line
++ StripLeadingAndTrailingSpaces 'IsBuiltin: N'
++ '[' -z 'IsBuiltin: N' ']'
++ echo 'IsBuiltin: N'
+ line='IsBuiltin: N'
+ '[' 'IsBuiltin: N' = '' ']'
+ echo IsBuiltin: $'N\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Filename: MuninLite_1.0.4_arm_003.zpkg'
++ '[' -z 'Filename: MuninLite_1.0.4_arm_003.zpkg' ']'
++ echo 'Filename: MuninLite_1.0.4_arm_003.zpkg'
+ line='Filename: MuninLite_1.0.4_arm_003.zpkg'
+ '[' 'Filename: MuninLite_1.0.4_arm_003.zpkg' = '' ']'
+ echo Filename: $'MuninLite_1.0.4_arm_003.zpkg\r'
+ read line
++ StripLeadingAndTrailingSpaces 'MD5SUM: 21915094ebc1e700e9dcead808265457'
++ '[' -z 'MD5SUM: 21915094ebc1e700e9dcead808265457' ']'
++ echo 'MD5SUM: 21915094ebc1e700e9dcead808265457'
+ line='MD5SUM: 21915094ebc1e700e9dcead808265457'
+ '[' 'MD5SUM: 21915094ebc1e700e9dcead808265457' = '' ']'
+ echo MD5SUM: $'21915094ebc1e700e9dcead808265457\r'
+ read line
++ StripLeadingAndTrailingSpaces $'\r'
++ '[' -z $'\r' ']'
++ echo $'\r'
+ line=$'\r'
+ '[' $'\r' = '' ']'
+ echo $'\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Package: Pulse'
++ '[' -z 'Package: Pulse' ']'
++ echo 'Package: Pulse'
+ line='Package: Pulse'
+ '[' 'Package: Pulse' = '' ']'
+ echo Package: $'Pulse\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Version: 0.12.4zypkg04'
++ '[' -z 'Version: 0.12.4zypkg04' ']'
++ echo 'Version: 0.12.4zypkg04'
+ line='Version: 0.12.4zypkg04'
+ '[' 'Version: 0.12.4zypkg04' = '' ']'
+ echo Version: $'0.12.4zypkg04\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Description: <a href=http://docs.syncthing.net/index.html>Syncthing</a>, formerly Pulse, formerly Syncthing, a private cloud tool'
++ '[' -z 'Description: <a href=http://docs.syncthing.net/index.html>Syncthing</a>, formerly Pulse, formerly Syncthing, a private cloud tool' ']'
++ echo 'Description: <a href=http://docs.syncthing.net/index.html>Syncthing</a>, formerly Pulse, formerly Syncthing, a private cloud tool'
+ line='Description: <a href=http://docs.syncthing.net/index.html>Syncthing</a>, formerly Pulse, formerly Syncthing, a private cloud tool'
+ '[' 'Description: <a href=http://docs.syncthing.net/index.html>Syncthing</a>, formerly Pulse, formerly Syncthing, a private cloud tool' = '' ']'
+ echo Description: '<a' 'href=http://docs.syncthing.net/index.html>Syncthing</a>,' formerly Pulse, formerly Syncthing, a private cloud $'tool\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Depends: '
++ '[' -z 'Depends: ' ']'
++ echo 'Depends: '
+ line='Depends: '
+ '[' 'Depends: ' = '' ']'
+ echo Depends: $'\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Size: 4614144'
++ '[' -z 'Size: 4614144' ']'
++ echo 'Size: 4614144'
+ line='Size: 4614144'
+ '[' 'Size: 4614144' = '' ']'
+ echo Size: $'4614144\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Installed-Size: 12304384'
++ '[' -z 'Installed-Size: 12304384' ']'
++ echo 'Installed-Size: 12304384'
+ line='Installed-Size: 12304384'
+ '[' 'Installed-Size: 12304384' = '' ']'
+ echo Installed-Size: $'12304384\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Architecture: arm'
++ '[' -z 'Architecture: arm' ']'
++ echo 'Architecture: arm'
+ line='Architecture: arm'
+ '[' 'Architecture: arm' = '' ']'
+ echo Architecture: $'arm\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Zy-Model: all'
++ '[' -z 'Zy-Model: all' ']'
++ echo 'Zy-Model: all'
+ line='Zy-Model: all'
+ '[' 'Zy-Model: all' = '' ']'
+ echo Zy-Model: $'all\r'
+ read line
++ StripLeadingAndTrailingSpaces 'IsBuiltin: N'
++ '[' -z 'IsBuiltin: N' ']'
++ echo 'IsBuiltin: N'
+ line='IsBuiltin: N'
+ '[' 'IsBuiltin: N' = '' ']'
+ echo IsBuiltin: $'N\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Filename: Pulse_0.12.4_arm_04.zpkg'
++ '[' -z 'Filename: Pulse_0.12.4_arm_04.zpkg' ']'
++ echo 'Filename: Pulse_0.12.4_arm_04.zpkg'
+ line='Filename: Pulse_0.12.4_arm_04.zpkg'
+ '[' 'Filename: Pulse_0.12.4_arm_04.zpkg' = '' ']'
+ echo Filename: $'Pulse_0.12.4_arm_04.zpkg\r'
+ read line
++ StripLeadingAndTrailingSpaces 'MD5SUM: 2977986a8e68fe757870b39ef1fb7883'
++ '[' -z 'MD5SUM: 2977986a8e68fe757870b39ef1fb7883' ']'
++ echo 'MD5SUM: 2977986a8e68fe757870b39ef1fb7883'
+ line='MD5SUM: 2977986a8e68fe757870b39ef1fb7883'
+ '[' 'MD5SUM: 2977986a8e68fe757870b39ef1fb7883' = '' ']'
+ echo MD5SUM: $'2977986a8e68fe757870b39ef1fb7883\r'
+ read line
++ StripLeadingAndTrailingSpaces $'\r'
++ '[' -z $'\r' ']'
++ echo $'\r'
+ line=$'\r'
+ '[' $'\r' = '' ']'
+ echo $'\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Package: CalibreCOPS'
++ '[' -z 'Package: CalibreCOPS' ']'
++ echo 'Package: CalibreCOPS'
+ line='Package: CalibreCOPS'
+ '[' 'Package: CalibreCOPS' = '' ']'
+ echo Package: $'CalibreCOPS\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Version: 1.1.3zypkg008'
++ '[' -z 'Version: 1.1.3zypkg008' ']'
++ echo 'Version: 1.1.3zypkg008'
+ line='Version: 1.1.3zypkg008'
+ '[' 'Version: 1.1.3zypkg008' = '' ']'
+ echo Version: $'1.1.3zypkg008\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Description: CalibreCOPS is a Calibre OPDS (and HTML) PHP Server: a light alternative to Calibre content server/Calibre2OPDS.'
++ '[' -z 'Description: CalibreCOPS is a Calibre OPDS (and HTML) PHP Server: a light alternative to Calibre content server/Calibre2OPDS.' ']'
++ echo 'Description: CalibreCOPS is a Calibre OPDS (and HTML) PHP Server: a light alternative to Calibre content server/Calibre2OPDS.'
+ line='Description: CalibreCOPS is a Calibre OPDS (and HTML) PHP Server: a light alternative to Calibre content server/Calibre2OPDS.'
+ '[' 'Description: CalibreCOPS is a Calibre OPDS (and HTML) PHP Server: a light alternative to Calibre content server/Calibre2OPDS.' = '' ']'
+ echo Description: CalibreCOPS is a Calibre OPDS '(and' 'HTML)' PHP Server: a light alternative to Calibre content $'server/Calibre2OPDS.\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Depends: PHP-MySQL-phpMyAdmin'
++ '[' -z 'Depends: PHP-MySQL-phpMyAdmin' ']'
++ echo 'Depends: PHP-MySQL-phpMyAdmin'
+ line='Depends: PHP-MySQL-phpMyAdmin'
+ '[' 'Depends: PHP-MySQL-phpMyAdmin' = '' ']'
+ echo Depends: $'PHP-MySQL-phpMyAdmin\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Size: 3975168'
++ '[' -z 'Size: 3975168' ']'
++ echo 'Size: 3975168'
+ line='Size: 3975168'
+ '[' 'Size: 3975168' = '' ']'
+ echo Size: $'3975168\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Installed-Size: 10600448'
++ '[' -z 'Installed-Size: 10600448' ']'
++ echo 'Installed-Size: 10600448'
+ line='Installed-Size: 10600448'
+ '[' 'Installed-Size: 10600448' = '' ']'
+ echo Installed-Size: $'10600448\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Architecture: arm'
++ '[' -z 'Architecture: arm' ']'
++ echo 'Architecture: arm'
+ line='Architecture: arm'
+ '[' 'Architecture: arm' = '' ']'
+ echo Architecture: $'arm\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Zy-Model: all'
++ '[' -z 'Zy-Model: all' ']'
++ echo 'Zy-Model: all'
+ line='Zy-Model: all'
+ '[' 'Zy-Model: all' = '' ']'
+ echo Zy-Model: $'all\r'
+ read line
++ StripLeadingAndTrailingSpaces 'IsBuiltin: N'
++ '[' -z 'IsBuiltin: N' ']'
++ echo 'IsBuiltin: N'
+ line='IsBuiltin: N'
+ '[' 'IsBuiltin: N' = '' ']'
+ echo IsBuiltin: $'N\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Filename: CalibreCOPS_1.1.3_arm_008.zpkg'
++ '[' -z 'Filename: CalibreCOPS_1.1.3_arm_008.zpkg' ']'
++ echo 'Filename: CalibreCOPS_1.1.3_arm_008.zpkg'
+ line='Filename: CalibreCOPS_1.1.3_arm_008.zpkg'
+ '[' 'Filename: CalibreCOPS_1.1.3_arm_008.zpkg' = '' ']'
+ echo Filename: $'CalibreCOPS_1.1.3_arm_008.zpkg\r'
+ read line
++ StripLeadingAndTrailingSpaces 'MD5SUM: e5748751e09bd7a4debce8b96a9d85df'
++ '[' -z 'MD5SUM: e5748751e09bd7a4debce8b96a9d85df' ']'
++ echo 'MD5SUM: e5748751e09bd7a4debce8b96a9d85df'
+ line='MD5SUM: e5748751e09bd7a4debce8b96a9d85df'
+ '[' 'MD5SUM: e5748751e09bd7a4debce8b96a9d85df' = '' ']'
+ echo MD5SUM: $'e5748751e09bd7a4debce8b96a9d85df\r'
+ read line
++ StripLeadingAndTrailingSpaces $'\r'
++ '[' -z $'\r' ']'
++ echo $'\r'
+ line=$'\r'
+ '[' $'\r' = '' ']'
+ echo $'\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Package: Darkstat'
++ '[' -z 'Package: Darkstat' ']'
++ echo 'Package: Darkstat'
+ line='Package: Darkstat'
+ '[' 'Package: Darkstat' = '' ']'
+ echo Package: $'Darkstat\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Version: 3.0.719zypkg005'
++ '[' -z 'Version: 3.0.719zypkg005' ']'
++ echo 'Version: 3.0.719zypkg005'
+ line='Version: 3.0.719zypkg005'
+ '[' 'Version: 3.0.719zypkg005' = '' ']'
+ echo Version: $'3.0.719zypkg005\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Description: Captures network traffic, calculates statistics about usage, and serves reports over HTTP.'
++ '[' -z 'Description: Captures network traffic, calculates statistics about usage, and serves reports over HTTP.' ']'
++ echo 'Description: Captures network traffic, calculates statistics about usage, and serves reports over HTTP.'
+ line='Description: Captures network traffic, calculates statistics about usage, and serves reports over HTTP.'
+ '[' 'Description: Captures network traffic, calculates statistics about usage, and serves reports over HTTP.' = '' ']'
+ echo Description: Captures network traffic, calculates statistics about usage, and serves reports over $'HTTP.\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Depends: '
++ '[' -z 'Depends: ' ']'
++ echo 'Depends: '
+ line='Depends: '
+ '[' 'Depends: ' = '' ']'
+ echo Depends: $'\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Size: 133632'
++ '[' -z 'Size: 133632' ']'
++ echo 'Size: 133632'
+ line='Size: 133632'
+ '[' 'Size: 133632' = '' ']'
+ echo Size: $'133632\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Installed-Size: 356352'
++ '[' -z 'Installed-Size: 356352' ']'
++ echo 'Installed-Size: 356352'
+ line='Installed-Size: 356352'
+ '[' 'Installed-Size: 356352' = '' ']'
+ echo Installed-Size: $'356352\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Architecture: arm'
++ '[' -z 'Architecture: arm' ']'
++ echo 'Architecture: arm'
+ line='Architecture: arm'
+ '[' 'Architecture: arm' = '' ']'
+ echo Architecture: $'arm\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Zy-Model: all'
++ '[' -z 'Zy-Model: all' ']'
++ echo 'Zy-Model: all'
+ line='Zy-Model: all'
+ '[' 'Zy-Model: all' = '' ']'
+ echo Zy-Model: $'all\r'
+ read line
++ StripLeadingAndTrailingSpaces 'IsBuiltin: N'
++ '[' -z 'IsBuiltin: N' ']'
++ echo 'IsBuiltin: N'
+ line='IsBuiltin: N'
+ '[' 'IsBuiltin: N' = '' ']'
+ echo IsBuiltin: $'N\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Filename: Darkstat_3.0.719_arm_005.zpkg'
++ '[' -z 'Filename: Darkstat_3.0.719_arm_005.zpkg' ']'
++ echo 'Filename: Darkstat_3.0.719_arm_005.zpkg'
+ line='Filename: Darkstat_3.0.719_arm_005.zpkg'
+ '[' 'Filename: Darkstat_3.0.719_arm_005.zpkg' = '' ']'
+ echo Filename: $'Darkstat_3.0.719_arm_005.zpkg\r'
+ read line
++ StripLeadingAndTrailingSpaces 'MD5SUM: 5b543ef43e248a18559e4254772a90e4'
++ '[' -z 'MD5SUM: 5b543ef43e248a18559e4254772a90e4' ']'
++ echo 'MD5SUM: 5b543ef43e248a18559e4254772a90e4'
+ line='MD5SUM: 5b543ef43e248a18559e4254772a90e4'
+ '[' 'MD5SUM: 5b543ef43e248a18559e4254772a90e4' = '' ']'
+ echo MD5SUM: $'5b543ef43e248a18559e4254772a90e4\r'
+ read line
++ StripLeadingAndTrailingSpaces $'\r'
++ '[' -z $'\r' ']'
++ echo $'\r'
+ line=$'\r'
+ '[' $'\r' = '' ']'
+ echo $'\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Package: PlexMediaServer'
++ '[' -z 'Package: PlexMediaServer' ']'
++ echo 'Package: PlexMediaServer'
+ line='Package: PlexMediaServer'
+ '[' 'Package: PlexMediaServer' = '' ']'
+ echo Package: $'PlexMediaServer\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Version: 20161213zypkg003'
++ '[' -z 'Version: 20161213zypkg003' ']'
++ echo 'Version: 20161213zypkg003'
+ line='Version: 20161213zypkg003'
+ '[' 'Version: 20161213zypkg003' = '' ']'
+ echo Version: $'20161213zypkg003\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Description: Plex Media Server is a complete solution for streaming media from your computer to your TV or various mobile devices in your home.'
++ '[' -z 'Description: Plex Media Server is a complete solution for streaming media from your computer to your TV or various mobile devices in your home.' ']'
++ echo 'Description: Plex Media Server is a complete solution for streaming media from your computer to your TV or various mobile devices in your home.'
+ line='Description: Plex Media Server is a complete solution for streaming media from your computer to your TV or various mobile devices in your home.'
+ '[' 'Description: Plex Media Server is a complete solution for streaming media from your computer to your TV or various mobile devices in your home.' = '' ']'
+ echo Description: Plex Media Server is a complete solution for streaming media from your computer to your TV or various mobile devices in your $'home.\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Depends: '
++ '[' -z 'Depends: ' ']'
++ echo 'Depends: '
+ line='Depends: '
+ '[' 'Depends: ' = '' ']'
+ echo Depends: $'\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Size: 59904'
++ '[' -z 'Size: 59904' ']'
++ echo 'Size: 59904'
+ line='Size: 59904'
+ '[' 'Size: 59904' = '' ']'
+ echo Size: $'59904\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Installed-Size: 159744'
++ '[' -z 'Installed-Size: 159744' ']'
++ echo 'Installed-Size: 159744'
+ line='Installed-Size: 159744'
+ '[' 'Installed-Size: 159744' = '' ']'
+ echo Installed-Size: $'159744\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Architecture: arm'
++ '[' -z 'Architecture: arm' ']'
++ echo 'Architecture: arm'
+ line='Architecture: arm'
+ '[' 'Architecture: arm' = '' ']'
+ echo Architecture: $'arm\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Zy-Model: all'
++ '[' -z 'Zy-Model: all' ']'
++ echo 'Zy-Model: all'
+ line='Zy-Model: all'
+ '[' 'Zy-Model: all' = '' ']'
+ echo Zy-Model: $'all\r'
+ read line
++ StripLeadingAndTrailingSpaces 'IsBuiltin: N'
++ '[' -z 'IsBuiltin: N' ']'
++ echo 'IsBuiltin: N'
+ line='IsBuiltin: N'
+ '[' 'IsBuiltin: N' = '' ']'
+ echo IsBuiltin: $'N\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Filename: PlexMediaServer_20161213_arm_003.zpkg'
++ '[' -z 'Filename: PlexMediaServer_20161213_arm_003.zpkg' ']'
++ echo 'Filename: PlexMediaServer_20161213_arm_003.zpkg'
+ line='Filename: PlexMediaServer_20161213_arm_003.zpkg'
+ '[' 'Filename: PlexMediaServer_20161213_arm_003.zpkg' = '' ']'
+ echo Filename: $'PlexMediaServer_20161213_arm_003.zpkg\r'
+ read line
++ StripLeadingAndTrailingSpaces 'MD5SUM: 6ed4a4bd442bb125bd2ac77860691fb4'
++ '[' -z 'MD5SUM: 6ed4a4bd442bb125bd2ac77860691fb4' ']'
++ echo 'MD5SUM: 6ed4a4bd442bb125bd2ac77860691fb4'
+ line='MD5SUM: 6ed4a4bd442bb125bd2ac77860691fb4'
+ '[' 'MD5SUM: 6ed4a4bd442bb125bd2ac77860691fb4' = '' ']'
+ echo MD5SUM: $'6ed4a4bd442bb125bd2ac77860691fb4\r'
+ read line
++ StripLeadingAndTrailingSpaces $'\r'
++ '[' -z $'\r' ']'
++ echo $'\r'
+ line=$'\r'
+ '[' $'\r' = '' ']'
+ echo $'\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Package: Entware-ng'
++ '[' -z 'Package: Entware-ng' ']'
++ echo 'Package: Entware-ng'
+ line='Package: Entware-ng'
+ '[' 'Package: Entware-ng' = '' ']'
+ echo Package: $'Entware-ng\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Version: 20181002zypkg006'
++ '[' -z 'Version: 20181002zypkg006' ']'
++ echo 'Version: 20181002zypkg006'
+ line='Version: 20181002zypkg006'
+ '[' 'Version: 20181002zypkg006' = '' ']'
+ echo Version: $'20181002zypkg006\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Description: <a href=https://github.com/Entware/Entware-ng/wiki/>Entware-ng</a> is a software repository for embedded devices like routers or network attached storages.'
++ '[' -z 'Description: <a href=https://github.com/Entware/Entware-ng/wiki/>Entware-ng</a> is a software repository for embedded devices like routers or network attached storages.' ']'
++ echo 'Description: <a href=https://github.com/Entware/Entware-ng/wiki/>Entware-ng</a> is a software repository for embedded devices like routers or network attached storages.'
+ line='Description: <a href=https://github.com/Entware/Entware-ng/wiki/>Entware-ng</a> is a software repository for embedded devices like routers or network attached storages.'
+ '[' 'Description: <a href=https://github.com/Entware/Entware-ng/wiki/>Entware-ng</a> is a software repository for embedded devices like routers or network attached storages.' = '' ']'
+ echo Description: '<a' 'href=https://github.com/Entware/Entware-ng/wiki/>Entware-ng</a>' is a software repository for embedded devices like routers or network attached $'storages.\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Depends: '
++ '[' -z 'Depends: ' ']'
++ echo 'Depends: '
+ line='Depends: '
+ '[' 'Depends: ' = '' ']'
+ echo Depends: $'\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Size: 38400'
++ '[' -z 'Size: 38400' ']'
++ echo 'Size: 38400'
+ line='Size: 38400'
+ '[' 'Size: 38400' = '' ']'
+ echo Size: $'38400\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Installed-Size: 102400'
++ '[' -z 'Installed-Size: 102400' ']'
++ echo 'Installed-Size: 102400'
+ line='Installed-Size: 102400'
+ '[' 'Installed-Size: 102400' = '' ']'
+ echo Installed-Size: $'102400\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Architecture: arm'
++ '[' -z 'Architecture: arm' ']'
++ echo 'Architecture: arm'
+ line='Architecture: arm'
+ '[' 'Architecture: arm' = '' ']'
+ echo Architecture: $'arm\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Zy-Model: all'
++ '[' -z 'Zy-Model: all' ']'
++ echo 'Zy-Model: all'
+ line='Zy-Model: all'
+ '[' 'Zy-Model: all' = '' ']'
+ echo Zy-Model: $'all\r'
+ read line
++ StripLeadingAndTrailingSpaces 'IsBuiltin: N'
++ '[' -z 'IsBuiltin: N' ']'
++ echo 'IsBuiltin: N'
+ line='IsBuiltin: N'
+ '[' 'IsBuiltin: N' = '' ']'
+ echo IsBuiltin: $'N\r'
+ read line
++ StripLeadingAndTrailingSpaces 'Filename: Entware-ng_20181002_arm_006.zpkg'
++ '[' -z 'Filename: Entware-ng_20181002_arm_006.zpkg' ']'
++ echo 'Filename: Entware-ng_20181002_arm_006.zpkg'
+ line='Filename: Entware-ng_20181002_arm_006.zpkg'
+ '[' 'Filename: Entware-ng_20181002_arm_006.zpkg' = '' ']'
+ echo Filename: $'Entware-ng_20181002_arm_006.zpkg\r'
+ read line
++ StripLeadingAndTrailingSpaces 'MD5SUM: 472443b68d33a938786f0012f7938fd5'
++ '[' -z 'MD5SUM: 472443b68d33a938786f0012f7938fd5' ']'
++ echo 'MD5SUM: 472443b68d33a938786f0012f7938fd5'
+ line='MD5SUM: 472443b68d33a938786f0012f7938fd5'
+ '[' 'MD5SUM: 472443b68d33a938786f0012f7938fd5' = '' ']'
+ echo MD5SUM: $'472443b68d33a938786f0012f7938fd5\r'
+ read line
+ HandlePackage /i-data/md0/admin/zy-pkgs/MetaRepository/http___zyxel.diskstation.eu_Users_Mijzelf_zypkg-repo_fw4_/tmp 1 8 Mijzelf
+ '[' '!' -f /i-data/md0/admin/zy-pkgs/MetaRepository/http___zyxel.diskstation.eu_Users_Mijzelf_zypkg-repo_fw4_/tmp ']'
+ echo -n 'HandlePackage /i-data/md0/admin/zy-pkgs/MetaRepository/http___zyxel.diskstation.eu_Users_Mijzelf_zypkg-repo_fw4_/tmp' 1 8 'Mijzelf '
HandlePackage /i-data/md0/admin/zy-pkgs/MetaRepository/http___zyxel.diskstation.eu_Users_Mijzelf_zypkg-repo_fw4_/tmp 1 8 Mijzelf ++ grep '^Package' /i-data/md0/admin/zy-pkgs/MetaRepository/http___zyxel.diskstation.eu_Users_Mijzelf_zypkg-repo_fw4_/tmp
++ cut -d ' ' -f 2
+ local 'package=ffp
btsync
anyterm
MetaRepository
Dropbear
MidnightCommander
Tweaks
RandomTools
EncryptedShares
exFAT
MuninLite
Pulse
CalibreCOPS
Darkstat
PlexMediaServer
Entware-ng
ffp
btsync
anyterm
MetaRepository
Dropbear
MidnightCommander
Tweaks
RandomTools
EncryptedShares
exFAT
MuninLite
Pulse
CalibreCOPS
Darkstat
PlexMediaServer
Entware-ng
ffp
btsync
anyterm
MetaRepository
Dropbear
MidnightCommander
Tweaks
RandomTools
EncryptedShares
exFAT
MuninLite
Pulse
CalibreCOPS
Darkstat
PlexMediaServer
Entware-ng'
++ grep '^Version' /i-data/md0/admin/zy-pkgs/MetaRepository/http___zyxel.diskstation.eu_Users_Mijzelf_zypkg-repo_fw4_/tmp
++ cut -d ' ' -f 2
+ local 'version=0.7zypkg006
1.4.110zypkg007
9652zypkg001
20181001zypkg015
2014.63zypkg002
4.6.1zypkg003
20200310zypkg035
20170220zypkg012
20140603zypkg001
1.0.1zypkg001
1.0.4zypkg003
0.12.4zypkg04
1.1.3zypkg008
3.0.719zypkg005
20161213zypkg003
20181002zypkg006
0.7zypkg006
1.4.110zypkg007
9652zypkg001
20181001zypkg015
2014.63zypkg002
4.6.1zypkg003
20200310zypkg035
20170220zypkg012
20140603zypkg001
1.0.1zypkg001
1.0.4zypkg003
0.12.4zypkg04
1.1.3zypkg008
3.0.719zypkg005
20161213zypkg003
20181002zypkg006
0.7zypkg006
1.4.110zypkg007
9652zypkg001
20181001zypkg015
2014.63zypkg002
4.6.1zypkg003
20200310zypkg035
20170220zypkg012
20140603zypkg001
1.0.1zypkg001
1.0.4zypkg003
0.12.4zypkg04
1.1.3zypkg008
3.0.719zypkg005
20161213zypkg003
20181002zypkg006'
++ echo $'0.7zypkg006\r' $'1.4.110zypkg007\r' $'9652zypkg001\r' $'20181001zypkg015\r' $'2014.63zypkg002\r' $'4.6.1zypkg003\r' $'20200310zypkg035\r' $'20170220zypkg012\r' $'20140603zypkg001\r' $'1.0.1zypkg001\r' $'1.0.4zypkg003\r' $'0.12.4zypkg04\r' $'1.1.3zypkg008\r' $'3.0.719zypkg005\r' $'20161213zypkg003\r' $'20181002zypkg006\r' $'0.7zypkg006\r' $'1.4.110zypkg007\r' $'9652zypkg001\r' $'20181001zypkg015\r' $'2014.63zypkg002\r' $'4.6.1zypkg003\r' $'20200310zypkg035\r' $'20170220zypkg012\r' $'20140603zypkg001\r' $'1.0.1zypkg001\r' $'1.0.4zypkg003\r' $'0.12.4zypkg04\r' $'1.1.3zypkg008\r' $'3.0.719zypkg005\r' $'20161213zypkg003\r' $'20181002zypkg006\r' $'0.7zypkg006\r' $'1.4.110zypkg007\r' $'9652zypkg001\r' $'20181001zypkg015\r' $'2014.63zypkg002\r' $'4.6.1zypkg003\r' $'20200310zypkg035\r' $'20170220zypkg012\r' $'20140603zypkg001\r' $'1.0.1zypkg001\r' $'1.0.4zypkg003\r' $'0.12.4zypkg04\r' $'1.1.3zypkg008\r' $'3.0.719zypkg005\r' $'20161213zypkg003\r' $'20181002zypkg006\r'
++ cut -d ' ' -f 2
++ sed 's/pkg/ /'
+ version=$'006\r'
++ grep '^Filename' /i-data/md0/admin/zy-pkgs/MetaRepository/http___zyxel.diskstation.eu_Users_Mijzelf_zypkg-repo_fw4_/tmp
++ cut -d ' ' -f 2
+ local 'filename=ffp_0.7_arm_006.zpkg
btsync_1.4.110_arm_007.zpkg
anyterm_9652_arm_001.zpkg
MetaRepository_20181001_arm_015.zpkg
Dropbear_2014.63_arm_002.zpkg
MidnightCommander_4.6.1_arm_003.zpkg
Tweaks_20200310_arm_035.zpkg
RandomTools_20170220_arm_012.zpkg
EncryptedShares_20140603_arm_001.zpkg
exFAT_1.0.1_arm_001.zpkg
MuninLite_1.0.4_arm_003.zpkg
Pulse_0.12.4_arm_04.zpkg
CalibreCOPS_1.1.3_arm_008.zpkg
Darkstat_3.0.719_arm_005.zpkg
PlexMediaServer_20161213_arm_003.zpkg
Entware-ng_20181002_arm_006.zpkg
ffp_0.7_arm_006.zpkg
btsync_1.4.110_arm_007.zpkg
anyterm_9652_arm_001.zpkg
MetaRepository_20181001_arm_015.zpkg
Dropbear_2014.63_arm_002.zpkg
MidnightCommander_4.6.1_arm_003.zpkg
Tweaks_20200310_arm_035.zpkg
RandomTools_20170220_arm_012.zpkg
EncryptedShares_20140603_arm_001.zpkg
exFAT_1.0.1_arm_001.zpkg
MuninLite_1.0.4_arm_003.zpkg
Pulse_0.12.4_arm_04.zpkg
CalibreCOPS_1.1.3_arm_008.zpkg
Darkstat_3.0.719_arm_005.zpkg
PlexMediaServer_20161213_arm_003.zpkg
Entware-ng_20181002_arm_006.zpkg
ffp_0.7_arm_006.zpkg
btsync_1.4.110_arm_007.zpkg
anyterm_9652_arm_001.zpkg
MetaRepository_20181001_arm_015.zpkg
Dropbear_2014.63_arm_002.zpkg
MidnightCommander_4.6.1_arm_003.zpkg
Tweaks_20200310_arm_035.zpkg
RandomTools_20170220_arm_012.zpkg
EncryptedShares_20140603_arm_001.zpkg
exFAT_1.0.1_arm_001.zpkg
MuninLite_1.0.4_arm_003.zpkg
Pulse_0.12.4_arm_04.zpkg
CalibreCOPS_1.1.3_arm_008.zpkg
Darkstat_3.0.719_arm_005.zpkg
PlexMediaServer_20161213_arm_003.zpkg
Entware-ng_20181002_arm_006.zpkg'
+ '[' -z $'ffp_0.7_arm_006.zpkg\r' $'btsync_1.4.110_arm_007.zpkg\r' $'anyterm_9652_arm_001.zpkg\r' $'MetaRepository_20181001_arm_015.zpkg\r' $'Dropbear_2014.63_arm_002.zpkg\r' $'MidnightCommander_4.6.1_arm_003.zpkg\r' $'Tweaks_20200310_arm_035.zpkg\r' $'RandomTools_20170220_arm_012.zpkg\r' $'EncryptedShares_20140603_arm_001.zpkg\r' $'exFAT_1.0.1_arm_001.zpkg\r' $'MuninLite_1.0.4_arm_003.zpkg\r' $'Pulse_0.12.4_arm_04.zpkg\r' $'CalibreCOPS_1.1.3_arm_008.zpkg\r' $'Darkstat_3.0.719_arm_005.zpkg\r' $'PlexMediaServer_20161213_arm_003.zpkg\r' $'Entware-ng_20181002_arm_006.zpkg\r' $'ffp_0.7_arm_006.zpkg\r' $'btsync_1.4.110_arm_007.zpkg\r' $'anyterm_9652_arm_001.zpkg\r' $'MetaRepository_20181001_arm_015.zpkg\r' $'Dropbear_2014.63_arm_002.zpkg\r' $'MidnightCommander_4.6.1_arm_003.zpkg\r' $'Tweaks_20200310_arm_035.zpkg\r' $'RandomTools_20170220_arm_012.zpkg\r' $'EncryptedShares_20140603_arm_001.zpkg\r' $'exFAT_1.0.1_arm_001.zpkg\r' $'MuninLite_1.0.4_arm_003.zpkg\r' $'Pulse_0.12.4_arm_04.zpkg\r' $'CalibreCOPS_1.1.3_arm_008.zpkg\r' $'Darkstat_3.0.719_arm_005.zpkg\r' $'PlexMediaServer_20161213_arm_003.zpkg\r' $'Entware-ng_20181002_arm_006.zpkg\r' $'ffp_0.7_arm_006.zpkg\r' $'btsync_1.4.110_arm_007.zpkg\r' $'anyterm_9652_arm_001.zpkg\r' $'MetaRepository_20181001_arm_015.zpkg\r' $'Dropbear_2014.63_arm_002.zpkg\r' $'MidnightCommander_4.6.1_arm_003.zpkg\r' $'Tweaks_20200310_arm_035.zpkg\r' $'RandomTools_20170220_arm_012.zpkg\r' $'EncryptedShares_20140603_arm_001.zpkg\r' $'exFAT_1.0.1_arm_001.zpkg\r' $'MuninLite_1.0.4_arm_003.zpkg\r' $'Pulse_0.12.4_arm_04.zpkg\r' $'CalibreCOPS_1.1.3_arm_008.zpkg\r' $'Darkstat_3.0.719_arm_005.zpkg\r' $'PlexMediaServer_20161213_arm_003.zpkg\r' $'Entware-ng_20181002_arm_006.zpkg\r' ']'
./ZYPKG_INFO.sh: line 59: [: too many arguments
++ dirname /i-data/md0/admin/zy-pkgs/MetaRepository/http___zyxel.diskstation.eu_Users_Mijzelf_zypkg-repo_fw4_/tmp
+ local dir=/i-data/md0/admin/zy-pkgs/MetaRepository/http___zyxel.diskstation.eu_Users_Mijzelf_zypkg-repo_fw4_
+ echo $'/i-data/md0/admin/zy-pkgs/MetaRepository/http___zyxel.diskstation.eu_Users_Mijzelf_zypkg-repo_fw4_/ffp_0.7_arm_006.zpkg\r' $'btsync_1.4.110_arm_007.zpkg\r' $'anyterm_9652_arm_001.zpkg\r' $'MetaRepository_20181001_arm_015.zpkg\r' $'Dropbear_2014.63_arm_002.zpkg\r' $'MidnightCommander_4.6.1_arm_003.zpkg\r' $'Tweaks_20200310_arm_035.zpkg\r' $'RandomTools_20170220_arm_012.zpkg\r' $'EncryptedShares_20140603_arm_001.zpkg\r' $'exFAT_1.0.1_arm_001.zpkg\r' $'MuninLite_1.0.4_arm_003.zpkg\r' $'Pulse_0.12.4_arm_04.zpkg\r' $'CalibreCOPS_1.1.3_arm_008.zpkg\r' $'Darkstat_3.0.719_arm_005.zpkg\r' $'PlexMediaServer_20161213_arm_003.zpkg\r' $'Entware-ng_20181002_arm_006.zpkg\r' $'ffp_0.7_arm_006.zpkg\r' $'btsync_1.4.110_arm_007.zpkg\r' $'anyterm_9652_arm_001.zpkg\r' $'MetaRepository_20181001_arm_015.zpkg\r' $'Dropbear_2014.63_arm_002.zpkg\r' $'MidnightCommander_4.6.1_arm_003.zpkg\r' $'Tweaks_20200310_arm_035.zpkg\r' $'RandomTools_20170220_arm_012.zpkg\r' $'EncryptedShares_20140603_arm_001.zpkg\r' $'exFAT_1.0.1_arm_001.zpkg\r' $'MuninLite_1.0.4_arm_003.zpkg\r' $'Pulse_0.12.4_arm_04.zpkg\r' $'CalibreCOPS_1.1.3_arm_008.zpkg\r' $'Darkstat_3.0.719_arm_005.zpkg\r' $'PlexMediaServer_20161213_arm_003.zpkg\r' $'Entware-ng_20181002_arm_006.zpkg\r' $'ffp_0.7_arm_006.zpkg\r' $'btsync_1.4.110_arm_007.zpkg\r' $'anyterm_9652_arm_001.zpkg\r' $'MetaRepository_20181001_arm_015.zpkg\r' $'Dropbear_2014.63_arm_002.zpkg\r' $'MidnightCommander_4.6.1_arm_003.zpkg\r' $'Tweaks_20200310_arm_035.zpkg\r' $'RandomTools_20170220_arm_012.zpkg\r' $'EncryptedShares_20140603_arm_001.zpkg\r' $'exFAT_1.0.1_arm_001.zpkg\r' $'MuninLite_1.0.4_arm_003.zpkg\r' $'Pulse_0.12.4_arm_04.zpkg\r' $'CalibreCOPS_1.1.3_arm_008.zpkg\r' $'Darkstat_3.0.719_arm_005.zpkg\r' $'PlexMediaServer_20161213_arm_003.zpkg\r' $'Entware-ng_20181002_arm_006.zpkg\r'
/i-data/md0/admin/zy-pkgs/MetaRepository/http___zyxel.diskstation.eu_Users_Mijzelf_zypkg-repo_fw4_/ffp_0.7_arm_006.zpkg btsync_1.4.110_arm_007.zpkg anyterm_9652_arm_001.zpkg MetaRepository_20181001_arm_015.zpkg Dropbear_2014.63_arm_002.zpkg MidnightCommander_4.6.1_arm_003.zpkg Tweaks_20200310_arm_035.zpkg RandomTools_20170220_arm_012.zpkg EncryptedShares_20140603_arm_001.zpkg exFAT_1.0.1_arm_001.zpkg MuninLite_1.0.4_arm_003.zpkg Pulse_0.12.4_arm_04.zpkg CalibreCOPS_1.1.3_arm_008.zpkg Darkstat_3.0.719_arm_005.zpkg PlexMediaServer_20161213_arm_003.zpkg Entware-ng_20181002_arm_006.zpkg ffp_0.7_arm_006.zpkg btsync_1.4.110_arm_007.zpkg anyterm_9652_arm_001.zpkg MetaRepository_20181001_arm_015.zpkg Dropbear_2014.63_arm_002.zpkg MidnightCommander_4.6.1_arm_003.zpkg Tweaks_20200310_arm_035.zpkg RandomTools_20170220_arm_012.zpkg EncryptedShares_20140603_arm_001.zpkg exFAT_1.0.1_arm_001.zpkg MuninLite_1.0.4_arm_003.zpkg Pulse_0.12.4_arm_04.zpkg CalibreCOPS_1.1.3_arm_008.zpkg Darkstat_3.0.719_arm_005.zpkg PlexMediaServer_20161213_arm_003.zpkg Entware-ng_20181002_arm_006.zpkg ffp_0.7_arm_006.zpkg btsync_1.4.110_arm_007.zpkg anyterm_9652_arm_001.zpkg MetaRepository_20181001_arm_015.zpkg Dropbear_2014.63_arm_002.zpkg MidnightCommander_4.6.1_arm_003.zpkg Tweaks_20200310_arm_035.zpkg RandomTools_20170220_arm_012.zpkg EncryptedShares_20140603_arm_001.zpkg exFAT_1.0.1_arm_001.zpkg MuninLite_1.0.4_arm_003.zpkg Pulse_0.12.4_arm_04.zpkg CalibreCOPS_1.1.3_arm_008.zpkg Darkstat_3.0.719_arm_005.zpkg PlexMediaServer_20161213_arm_003.zpkg Entware-ng_20181002_arm_006.zpkg
+ mv /i-data/md0/admin/zy-pkgs/MetaRepository/http___zyxel.diskstation.eu_Users_Mijzelf_zypkg-repo_fw4_/tmp $'/i-data/md0/admin/zy-pkgs/MetaRepository/http___zyxel.diskstation.eu_Users_Mijzelf_zypkg-repo_fw4_/ffp_0.7_arm_006.zpkg\r' $'btsync_1.4.110_arm_007.zpkg\r' $'anyterm_9652_arm_001.zpkg\r' $'MetaRepository_20181001_arm_015.zpkg\r' $'Dropbear_2014.63_arm_002.zpkg\r' $'MidnightCommander_4.6.1_arm_003.zpkg\r' $'Tweaks_20200310_arm_035.zpkg\r' $'RandomTools_20170220_arm_012.zpkg\r' $'EncryptedShares_20140603_arm_001.zpkg\r' $'exFAT_1.0.1_arm_001.zpkg\r' $'MuninLite_1.0.4_arm_003.zpkg\r' $'Pulse_0.12.4_arm_04.zpkg\r' $'CalibreCOPS_1.1.3_arm_008.zpkg\r' $'Darkstat_3.0.719_arm_005.zpkg\r' $'PlexMediaServer_20161213_arm_003.zpkg\r' $'Entware-ng_20181002_arm_006.zpkg\r' $'ffp_0.7_arm_006.zpkg\r' $'btsync_1.4.110_arm_007.zpkg\r' $'anyterm_9652_arm_001.zpkg\r' $'MetaRepository_20181001_arm_015.zpkg\r' $'Dropbear_2014.63_arm_002.zpkg\r' $'MidnightCommander_4.6.1_arm_003.zpkg\r' $'Tweaks_20200310_arm_035.zpkg\r' $'RandomTools_20170220_arm_012.zpkg\r' $'EncryptedShares_20140603_arm_001.zpkg\r' $'exFAT_1.0.1_arm_001.zpkg\r' $'MuninLite_1.0.4_arm_003.zpkg\r' $'Pulse_0.12.4_arm_04.zpkg\r' $'CalibreCOPS_1.1.3_arm_008.zpkg\r' $'Darkstat_3.0.719_arm_005.zpkg\r' $'PlexMediaServer_20161213_arm_003.zpkg\r' $'Entware-ng_20181002_arm_006.zpkg\r' $'ffp_0.7_arm_006.zpkg\r' $'btsync_1.4.110_arm_007.zpkg\r' $'anyterm_9652_arm_001.zpkg\r' $'MetaRepository_20181001_arm_015.zpkg\r' $'Dropbear_2014.63_arm_002.zpkg\r' $'MidnightCommander_4.6.1_arm_003.zpkg\r' $'Tweaks_20200310_arm_035.zpkg\r' $'RandomTools_20170220_arm_012.zpkg\r' $'EncryptedShares_20140603_arm_001.zpkg\r' $'exFAT_1.0.1_arm_001.zpkg\r' $'MuninLite_1.0.4_arm_003.zpkg\r' $'Pulse_0.12.4_arm_04.zpkg\r' $'CalibreCOPS_1.1.3_arm_008.zpkg\r' $'Darkstat_3.0.719_arm_005.zpkg\r' $'PlexMediaServer_20161213_arm_003.zpkg\r' $'Entware-ng_20181002_arm_006.zpkg\r.ZYPKG'
mv: target `Entware-ng_20181002_arm_006.zpkg\r.ZYPKG' is not a directory
++ basename /i-data/md0/admin/zy-pkgs/MetaRepository/http___zyxel.diskstation.eu_Users_Mijzelf_zypkg-repo_fw4_
+ echo $'ffp\r' $'btsync\r' $'anyterm\r' $'MetaRepository\r' $'Dropbear\r' $'MidnightCommander\r' $'Tweaks\r' $'RandomTools\r' $'EncryptedShares\r' $'exFAT\r' $'MuninLite\r' $'Pulse\r' $'CalibreCOPS\r' $'Darkstat\r' $'PlexMediaServer\r' $'Entware-ng\r' $'ffp\r' $'btsync\r' $'anyterm\r' $'MetaRepository\r' $'Dropbear\r' $'MidnightCommander\r' $'Tweaks\r' $'RandomTools\r' $'EncryptedShares\r' $'exFAT\r' $'MuninLite\r' $'Pulse\r' $'CalibreCOPS\r' $'Darkstat\r' $'PlexMediaServer\r' $'Entware-ng\r' $'ffp\r' $'btsync\r' $'anyterm\r' $'MetaRepository\r' $'Dropbear\r' $'MidnightCommander\r' $'Tweaks\r' $'RandomTools\r' $'EncryptedShares\r' $'exFAT\r' $'MuninLite\r' $'Pulse\r' $'CalibreCOPS\r' $'Darkstat\r' $'PlexMediaServer\r' $'Entware-ng\r' $'1-006\r-8' $'http___zyxel.diskstation.eu_Users_Mijzelf_zypkg-repo_fw4_/ffp_0.7_arm_006.zpkg\r' $'btsync_1.4.110_arm_007.zpkg\r' $'anyterm_9652_arm_001.zpkg\r' $'MetaRepository_20181001_arm_015.zpkg\r' $'Dropbear_2014.63_arm_002.zpkg\r' $'MidnightCommander_4.6.1_arm_003.zpkg\r' $'Tweaks_20200310_arm_035.zpkg\r' $'RandomTools_20170220_arm_012.zpkg\r' $'EncryptedShares_20140603_arm_001.zpkg\r' $'exFAT_1.0.1_arm_001.zpkg\r' $'MuninLite_1.0.4_arm_003.zpkg\r' $'Pulse_0.12.4_arm_04.zpkg\r' $'CalibreCOPS_1.1.3_arm_008.zpkg\r' $'Darkstat_3.0.719_arm_005.zpkg\r' $'PlexMediaServer_20161213_arm_003.zpkg\r' $'Entware-ng_20181002_arm_006.zpkg\r' $'ffp_0.7_arm_006.zpkg\r' $'btsync_1.4.110_arm_007.zpkg\r' $'anyterm_9652_arm_001.zpkg\r' $'MetaRepository_20181001_arm_015.zpkg\r' $'Dropbear_2014.63_arm_002.zpkg\r' $'MidnightCommander_4.6.1_arm_003.zpkg\r' $'Tweaks_20200310_arm_035.zpkg\r' $'RandomTools_20170220_arm_012.zpkg\r' $'EncryptedShares_20140603_arm_001.zpkg\r' $'exFAT_1.0.1_arm_001.zpkg\r' $'MuninLite_1.0.4_arm_003.zpkg\r' $'Pulse_0.12.4_arm_04.zpkg\r' $'CalibreCOPS_1.1.3_arm_008.zpkg\r' $'Darkstat_3.0.719_arm_005.zpkg\r' $'PlexMediaServer_20161213_arm_003.zpkg\r' $'Entware-ng_20181002_arm_006.zpkg\r' $'ffp_0.7_arm_006.zpkg\r' $'btsync_1.4.110_arm_007.zpkg\r' $'anyterm_9652_arm_001.zpkg\r' $'MetaRepository_20181001_arm_015.zpkg\r' $'Dropbear_2014.63_arm_002.zpkg\r' $'MidnightCommander_4.6.1_arm_003.zpkg\r' $'Tweaks_20200310_arm_035.zpkg\r' $'RandomTools_20170220_arm_012.zpkg\r' $'EncryptedShares_20140603_arm_001.zpkg\r' $'exFAT_1.0.1_arm_001.zpkg\r' $'MuninLite_1.0.4_arm_003.zpkg\r' $'Pulse_0.12.4_arm_04.zpkg\r' $'CalibreCOPS_1.1.3_arm_008.zpkg\r' $'Darkstat_3.0.719_arm_005.zpkg\r' $'PlexMediaServer_20161213_arm_003.zpkg\r' $'Entware-ng_20181002_arm_006.zpkg\r'
+ local newlanglist=0
+ local 'langlist=/i-data/md0/admin/zy-pkgs/MetaRepository/http___zyxel.diskstation.eu_Users_Mijzelf_zypkg-repo_fw4_/ffp_0.7_arm_006.zpkg
btsync_1.4.110_arm_007.zpkg
anyterm_9652_arm_001.zpkg
MetaRepository_20181001_arm_015.zpkg
Dropbear_2014.63_arm_002.zpkg
MidnightCommander_4.6.1_arm_003.zpkg
Tweaks_20200310_arm_035.zpkg
RandomTools_20170220_arm_012.zpkg
EncryptedShares_20140603_arm_001.zpkg
exFAT_1.0.1_arm_001.zpkg
MuninLite_1.0.4_arm_003.zpkg
Pulse_0.12.4_arm_04.zpkg
CalibreCOPS_1.1.3_arm_008.zpkg
Darkstat_3.0.719_arm_005.zpkg
PlexMediaServer_20161213_arm_003.zpkg
Entware-ng_20181002_arm_006.zpkg
ffp_0.7_arm_006.zpkg
btsync_1.4.110_arm_007.zpkg
anyterm_9652_arm_001.zpkg
MetaRepository_20181001_arm_015.zpkg
Dropbear_2014.63_arm_002.zpkg
MidnightCommander_4.6.1_arm_003.zpkg
Tweaks_20200310_arm_035.zpkg
RandomTools_20170220_arm_012.zpkg
EncryptedShares_20140603_arm_001.zpkg
exFAT_1.0.1_arm_001.zpkg
MuninLite_1.0.4_arm_003.zpkg
Pulse_0.12.4_arm_04.zpkg
CalibreCOPS_1.1.3_arm_008.zpkg
Darkstat_3.0.719_arm_005.zpkg
PlexMediaServer_20161213_arm_003.zpkg
Entware-ng_20181002_arm_006.zpkg
ffp_0.7_arm_006.zpkg
btsync_1.4.110_arm_007.zpkg
anyterm_9652_arm_001.zpkg
MetaRepository_20181001_arm_015.zpkg
Dropbear_2014.63_arm_002.zpkg
MidnightCommander_4.6.1_arm_003.zpkg
Tweaks_20200310_arm_035.zpkg
RandomTools_20170220_arm_012.zpkg
EncryptedShares_20140603_arm_001.zpkg
exFAT_1.0.1_arm_001.zpkg
MuninLite_1.0.4_arm_003.zpkg
Pulse_0.12.4_arm_04.zpkg
CalibreCOPS_1.1.3_arm_008.zpkg
Darkstat_3.0.719_arm_005.zpkg
PlexMediaServer_20161213_arm_003.zpkg
Entware-ng_20181002_arm_006.zpkg.LANGLIST'
+ '[' -f /i-data/md0/admin/zy-pkgs/MetaRepository/http___zyxel.diskstation.eu_Users_Mijzelf_zypkg-repo_fw4_/usr/local/zy-pkgs/gui/ZYPKG_LANG_LIST ']'
+ '[' '!' -f $'/i-data/md0/admin/zy-pkgs/MetaRepository/http___zyxel.diskstation.eu_Users_Mijzelf_zypkg-repo_fw4_/ffp_0.7_arm_006.zpkg\r' $'btsync_1.4.110_arm_007.zpkg\r' $'anyterm_9652_arm_001.zpkg\r' $'MetaRepository_20181001_arm_015.zpkg\r' $'Dropbear_2014.63_arm_002.zpkg\r' $'MidnightCommander_4.6.1_arm_003.zpkg\r' $'Tweaks_20200310_arm_035.zpkg\r' $'RandomTools_20170220_arm_012.zpkg\r' $'EncryptedShares_20140603_arm_001.zpkg\r' $'exFAT_1.0.1_arm_001.zpkg\r' $'MuninLite_1.0.4_arm_003.zpkg\r' $'Pulse_0.12.4_arm_04.zpkg\r' $'CalibreCOPS_1.1.3_arm_008.zpkg\r' $'Darkstat_3.0.719_arm_005.zpkg\r' $'PlexMediaServer_20161213_arm_003.zpkg\r' $'Entware-ng_20181002_arm_006.zpkg\r' $'ffp_0.7_arm_006.zpkg\r' $'btsync_1.4.110_arm_007.zpkg\r' $'anyterm_9652_arm_001.zpkg\r' $'MetaRepository_20181001_arm_015.zpkg\r' $'Dropbear_2014.63_arm_002.zpkg\r' $'MidnightCommander_4.6.1_arm_003.zpkg\r' $'Tweaks_20200310_arm_035.zpkg\r' $'RandomTools_20170220_arm_012.zpkg\r' $'EncryptedShares_20140603_arm_001.zpkg\r' $'exFAT_1.0.1_arm_001.zpkg\r' $'MuninLite_1.0.4_arm_003.zpkg\r' $'Pulse_0.12.4_arm_04.zpkg\r' $'CalibreCOPS_1.1.3_arm_008.zpkg\r' $'Darkstat_3.0.719_arm_005.zpkg\r' $'PlexMediaServer_20161213_arm_003.zpkg\r' $'Entware-ng_20181002_arm_006.zpkg\r' $'ffp_0.7_arm_006.zpkg\r' $'btsync_1.4.110_arm_007.zpkg\r' $'anyterm_9652_arm_001.zpkg\r' $'MetaRepository_20181001_arm_015.zpkg\r' $'Dropbear_2014.63_arm_002.zpkg\r' $'MidnightCommander_4.6.1_arm_003.zpkg\r' $'Tweaks_20200310_arm_035.zpkg\r' $'RandomTools_20170220_arm_012.zpkg\r' $'EncryptedShares_20140603_arm_001.zpkg\r' $'exFAT_1.0.1_arm_001.zpkg\r' $'MuninLite_1.0.4_arm_003.zpkg\r' $'Pulse_0.12.4_arm_04.zpkg\r' $'CalibreCOPS_1.1.3_arm_008.zpkg\r' $'Darkstat_3.0.719_arm_005.zpkg\r' $'PlexMediaServer_20161213_arm_003.zpkg\r' $'Entware-ng_20181002_arm_006.zpkg\r.LANGLIST' -a 400 -ge 520 ']'
./ZYPKG_INFO.sh: line 75: [: too many arguments
+ '[' '!' -z ']'
+ '[' -z Mijzelf ']'
+ '[' -f $'/i-data/md0/admin/zy-pkgs/MetaRepository/http___zyxel.diskstation.eu_Users_Mijzelf_zypkg-repo_fw4_/ffp_0.7_arm_006.zpkg\r' $'btsync_1.4.110_arm_007.zpkg\r' $'anyterm_9652_arm_001.zpkg\r' $'MetaRepository_20181001_arm_015.zpkg\r' $'Dropbear_2014.63_arm_002.zpkg\r' $'MidnightCommander_4.6.1_arm_003.zpkg\r' $'Tweaks_20200310_arm_035.zpkg\r' $'RandomTools_20170220_arm_012.zpkg\r' $'EncryptedShares_20140603_arm_001.zpkg\r' $'exFAT_1.0.1_arm_001.zpkg\r' $'MuninLite_1.0.4_arm_003.zpkg\r' $'Pulse_0.12.4_arm_04.zpkg\r' $'CalibreCOPS_1.1.3_arm_008.zpkg\r' $'Darkstat_3.0.719_arm_005.zpkg\r' $'PlexMediaServer_20161213_arm_003.zpkg\r' $'Entware-ng_20181002_arm_006.zpkg\r' $'ffp_0.7_arm_006.zpkg\r' $'btsync_1.4.110_arm_007.zpkg\r' $'anyterm_9652_arm_001.zpkg\r' $'MetaRepository_20181001_arm_015.zpkg\r' $'Dropbear_2014.63_arm_002.zpkg\r' $'MidnightCommander_4.6.1_arm_003.zpkg\r' $'Tweaks_20200310_arm_035.zpkg\r' $'RandomTools_20170220_arm_012.zpkg\r' $'EncryptedShares_20140603_arm_001.zpkg\r' $'exFAT_1.0.1_arm_001.zpkg\r' $'MuninLite_1.0.4_arm_003.zpkg\r' $'Pulse_0.12.4_arm_04.zpkg\r' $'CalibreCOPS_1.1.3_arm_008.zpkg\r' $'Darkstat_3.0.719_arm_005.zpkg\r' $'PlexMediaServer_20161213_arm_003.zpkg\r' $'Entware-ng_20181002_arm_006.zpkg\r' $'ffp_0.7_arm_006.zpkg\r' $'btsync_1.4.110_arm_007.zpkg\r' $'anyterm_9652_arm_001.zpkg\r' $'MetaRepository_20181001_arm_015.zpkg\r' $'Dropbear_2014.63_arm_002.zpkg\r' $'MidnightCommander_4.6.1_arm_003.zpkg\r' $'Tweaks_20200310_arm_035.zpkg\r' $'RandomTools_20170220_arm_012.zpkg\r' $'EncryptedShares_20140603_arm_001.zpkg\r' $'exFAT_1.0.1_arm_001.zpkg\r' $'MuninLite_1.0.4_arm_003.zpkg\r' $'Pulse_0.12.4_arm_04.zpkg\r' $'CalibreCOPS_1.1.3_arm_008.zpkg\r' $'Darkstat_3.0.719_arm_005.zpkg\r' $'PlexMediaServer_20161213_arm_003.zpkg\r' $'Entware-ng_20181002_arm_006.zpkg\r.LANGLIST' ']'
./ZYPKG_INFO.sh: line 111: [: too many arguments
+ sed -i 's|^Description: |Description: <i>(Repo: Mijzelf)</i> |' $'/i-data/md0/admin/zy-pkgs/MetaRepository/http___zyxel.diskstation.eu_Users_Mijzelf_zypkg-repo_fw4_/ffp_0.7_arm_006.zpkg\r' $'btsync_1.4.110_arm_007.zpkg\r' $'anyterm_9652_arm_001.zpkg\r' $'MetaRepository_20181001_arm_015.zpkg\r' $'Dropbear_2014.63_arm_002.zpkg\r' $'MidnightCommander_4.6.1_arm_003.zpkg\r' $'Tweaks_20200310_arm_035.zpkg\r' $'RandomTools_20170220_arm_012.zpkg\r' $'EncryptedShares_20140603_arm_001.zpkg\r' $'exFAT_1.0.1_arm_001.zpkg\r' $'MuninLite_1.0.4_arm_003.zpkg\r' $'Pulse_0.12.4_arm_04.zpkg\r' $'CalibreCOPS_1.1.3_arm_008.zpkg\r' $'Darkstat_3.0.719_arm_005.zpkg\r' $'PlexMediaServer_20161213_arm_003.zpkg\r' $'Entware-ng_20181002_arm_006.zpkg\r' $'ffp_0.7_arm_006.zpkg\r' $'btsync_1.4.110_arm_007.zpkg\r' $'anyterm_9652_arm_001.zpkg\r' $'MetaRepository_20181001_arm_015.zpkg\r' $'Dropbear_2014.63_arm_002.zpkg\r' $'MidnightCommander_4.6.1_arm_003.zpkg\r' $'Tweaks_20200310_arm_035.zpkg\r' $'RandomTools_20170220_arm_012.zpkg\r' $'EncryptedShares_20140603_arm_001.zpkg\r' $'exFAT_1.0.1_arm_001.zpkg\r' $'MuninLite_1.0.4_arm_003.zpkg\r' $'Pulse_0.12.4_arm_04.zpkg\r' $'CalibreCOPS_1.1.3_arm_008.zpkg\r' $'Darkstat_3.0.719_arm_005.zpkg\r' $'PlexMediaServer_20161213_arm_003.zpkg\r' $'Entware-ng_20181002_arm_006.zpkg\r' $'ffp_0.7_arm_006.zpkg\r' $'btsync_1.4.110_arm_007.zpkg\r' $'anyterm_9652_arm_001.zpkg\r' $'MetaRepository_20181001_arm_015.zpkg\r' $'Dropbear_2014.63_arm_002.zpkg\r' $'MidnightCommander_4.6.1_arm_003.zpkg\r' $'Tweaks_20200310_arm_035.zpkg\r' $'RandomTools_20170220_arm_012.zpkg\r' $'EncryptedShares_20140603_arm_001.zpkg\r' $'exFAT_1.0.1_arm_001.zpkg\r' $'MuninLite_1.0.4_arm_003.zpkg\r' $'Pulse_0.12.4_arm_04.zpkg\r' $'CalibreCOPS_1.1.3_arm_008.zpkg\r' $'Darkstat_3.0.719_arm_005.zpkg\r' $'PlexMediaServer_20161213_arm_003.zpkg\r' $'Entware-ng_20181002_arm_006.zpkg\r.ZYPKG'
sed: can't read /i-data/md0/admin/zy-pkgs/MetaRepository/http___zyxel.diskstation.eu_Users_Mijzelf_zypkg-repo_fw4_/ffp_0.7_arm_006.zpkg: No such file or directory
sed: can't read btsync_1.4.110_arm_007.zpkg: No such file or directory
sed: can't read anyterm_9652_arm_001.zpkg: No such file or directory
sed: can't read MetaRepository_20181001_arm_015.zpkg: No such file or directory
sed: can't read Dropbear_2014.63_arm_002.zpkg: No such file or directory
sed: can't read MidnightCommander_4.6.1_arm_003.zpkg: No such file or directory
sed: can't read Tweaks_20200310_arm_035.zpkg: No such file or directory
sed: can't read RandomTools_20170220_arm_012.zpkg: No such file or directory
sed: can't read EncryptedShares_20140603_arm_001.zpkg: No such file or directory
sed: can't read exFAT_1.0.1_arm_001.zpkg: No such file or directory
sed: can't read MuninLite_1.0.4_arm_003.zpkg: No such file or directory
sed: can't read Pulse_0.12.4_arm_04.zpkg: No such file or directory
sed: can't read CalibreCOPS_1.1.3_arm_008.zpkg: No such file or directory
sed: can't read Darkstat_3.0.719_arm_005.zpkg: No such file or directory
sed: can't read PlexMediaServer_20161213_arm_003.zpkg: No such file or directory
sed: can't read Entware-ng_20181002_arm_006.zpkg: No such file or directory
sed: can't read ffp_0.7_arm_006.zpkg: No such file or directory
sed: can't read btsync_1.4.110_arm_007.zpkg: No such file or directory
sed: can't read anyterm_9652_arm_001.zpkg: No such file or directory
sed: can't read MetaRepository_20181001_arm_015.zpkg: No such file or directory
sed: can't read Dropbear_2014.63_arm_002.zpkg: No such file or directory
sed: can't read MidnightCommander_4.6.1_arm_003.zpkg: No such file or directory
sed: can't read Tweaks_20200310_arm_035.zpkg: No such file or directory
sed: can't read RandomTools_20170220_arm_012.zpkg: No such file or directory
sed: can't read EncryptedShares_20140603_arm_001.zpkg: No such file or directory
sed: can't read exFAT_1.0.1_arm_001.zpkg: No such file or directory
sed: can't read MuninLite_1.0.4_arm_003.zpkg: No such file or directory
sed: can't read Pulse_0.12.4_arm_04.zpkg: No such file or directory
sed: can't read CalibreCOPS_1.1.3_arm_008.zpkg: No such file or directory
sed: can't read Darkstat_3.0.719_arm_005.zpkg: No such file or directory
sed: can't read PlexMediaServer_20161213_arm_003.zpkg: No such file or directory
sed: can't read Entware-ng_20181002_arm_006.zpkg: No such file or directory
sed: can't read ffp_0.7_arm_006.zpkg: No such file or directory
sed: can't read btsync_1.4.110_arm_007.zpkg: No such file or directory
sed: can't read anyterm_9652_arm_001.zpkg: No such file or directory
sed: can't read MetaRepository_20181001_arm_015.zpkg: No such file or directory
sed: can't read Dropbear_2014.63_arm_002.zpkg: No such file or directory
sed: can't read MidnightCommander_4.6.1_arm_003.zpkg: No such file or directory
sed: can't read Tweaks_20200310_arm_035.zpkg: No such file or directory
sed: can't read RandomTools_20170220_arm_012.zpkg: No such file or directory
sed: can't read EncryptedShares_20140603_arm_001.zpkg: No such file or directory
sed: can't read exFAT_1.0.1_arm_001.zpkg: No such file or directory
sed: can't read MuninLite_1.0.4_arm_003.zpkg: No such file or directory
sed: can't read Pulse_0.12.4_arm_04.zpkg: No such file or directory
sed: can't read CalibreCOPS_1.1.3_arm_008.zpkg: No such file or directory
sed: can't read Darkstat_3.0.719_arm_005.zpkg: No such file or directory
sed: can't read PlexMediaServer_20161213_arm_003.zpkg: No such file or directory
sed: can't read Entware-ng_20181002_arm_006.zpkg.ZYPKG: No such file or directory
+ return 0
+ '[' 0 -eq 0 ']'
+ touch /tmp/.MetaRepository/tmp/changed
+ '[' 8 -gt 0 ']'
+ let postfix=postfix-1
+ read line
+ rm /tmp/.MetaRepository/tmp/26880.ReadConfig.26880
+ HandleInstalled
+ local dir=/i-data/md0/admin/zy-pkgs/MetaRepository/Installed
+ mkdir -p /i-data/md0/admin/zy-pkgs/MetaRepository/Installed
+ rm -rf /i-data/md0/admin/zy-pkgs/MetaRepository/Installed/MetaRepository_20181001_arm_015.zpkg.ZYPKG /i-data/md0/admin/zy-pkgs/MetaRepository/Installed/NFS_1.1.4_arm_005.zpkg.ZYPKG /i-data/md0/admin/zy-pkgs/MetaRepository/Installed/RandomTools_20170220_arm_012.zpkg.ZYPKG /i-data/md0/admin/zy-pkgs/MetaRepository/Installed/SMART_6.2_arm_007.zpkg.ZYPKG /i-data/md0/admin/zy-pkgs/MetaRepository/Installed/SSH_6.7_arm_001.zpkg.ZYPKG /i-data/md0/admin/zy-pkgs/MetaRepository/Installed/ffp_0.7_arm_006.zpkg.ZYPKG
+ echo Installed
+ '[' -d /usr/local/zy-pkgs ']'
+ echo /i-data/md0/admin/zy-pkgs/
+ cp /usr/local/zy-pkgs/zypkg_conf/info/MetaRepository.control /usr/local/zy-pkgs/zypkg_conf/info/NFS.control /usr/local/zy-pkgs/zypkg_conf/info/RandomTools.control /usr/local/zy-pkgs/zypkg_conf/info/SMART.control /usr/local/zy-pkgs/zypkg_conf/info/SSH.control /usr/local/zy-pkgs/zypkg_conf/info/ffp.control /i-data/md0/admin/zy-pkgs/MetaRepository/Installed/
+ '[' -f /i-data/md0/admin/zy-pkgs/MetaRepository/Installed.list ']'
+ rm /i-data/md0/admin/zy-pkgs/MetaRepository/Installed.list
++ ls /i-data/md0/admin/zy-pkgs/MetaRepository/Installed/
+ for file in '` ls ${dir}/ `'
++ grep '^Package' /i-data/md0/admin/zy-pkgs/MetaRepository/Installed/MetaRepository.control
++ cut -d ' ' -f 2
+ local package=MetaRepository
++ grep '^Version' /i-data/md0/admin/zy-pkgs/MetaRepository/Installed/MetaRepository.control
++ cut -d ' ' -f 2
+ local version=20181001zypkg015
++ echo 20181001zypkg015
++ cut -d ' ' -f 2
++ sed 's/pkg/ /'
+ version=015
++ grep '^Filename' /i-data/md0/admin/zy-pkgs/MetaRepository/Installed/MetaRepository.control
++ cut -d ' ' -f 2
+ local filename=MetaRepository_20181001_arm_015.zpkg
+ mv /i-data/md0/admin/zy-pkgs/MetaRepository/Installed/MetaRepository.control /i-data/md0/admin/zy-pkgs/MetaRepository/Installed/MetaRepository_20181001_arm_015.zpkg.ZYPKG
+ echo 'MetaRepository 0-015-0 Installed/MetaRepository_20181001_arm_015.zpkg'
+ for file in '` ls ${dir}/ `'
++ grep '^Package' /i-data/md0/admin/zy-pkgs/MetaRepository/Installed/NFS.control
++ cut -d ' ' -f 2
+ local package=NFS
++ grep '^Version' /i-data/md0/admin/zy-pkgs/MetaRepository/Installed/NFS.control
++ cut -d ' ' -f 2
+ local version=1.1.4zypkg005
++ echo 1.1.4zypkg005
++ cut -d ' ' -f 2
++ sed 's/pkg/ /'
+ version=005
++ grep '^Filename' /i-data/md0/admin/zy-pkgs/MetaRepository/Installed/NFS.control
++ cut -d ' ' -f 2
+ local filename=NFS_1.1.4_arm_005.zpkg
+ mv /i-data/md0/admin/zy-pkgs/MetaRepository/Installed/NFS.control /i-data/md0/admin/zy-pkgs/MetaRepository/Installed/NFS_1.1.4_arm_005.zpkg.ZYPKG
+ echo 'NFS 0-005-0 Installed/NFS_1.1.4_arm_005.zpkg'
+ for file in '` ls ${dir}/ `'
++ grep '^Package' /i-data/md0/admin/zy-pkgs/MetaRepository/Installed/RandomTools.control
++ cut -d ' ' -f 2
+ local package=RandomTools
++ grep '^Version' /i-data/md0/admin/zy-pkgs/MetaRepository/Installed/RandomTools.control
++ cut -d ' ' -f 2
+ local version=20170220zypkg012
++ echo 20170220zypkg012
++ cut -d ' ' -f 2
++ sed 's/pkg/ /'
+ version=012
++ grep '^Filename' /i-data/md0/admin/zy-pkgs/MetaRepository/Installed/RandomTools.control
++ cut -d ' ' -f 2
+ local filename=RandomTools_20170220_arm_012.zpkg
+ mv /i-data/md0/admin/zy-pkgs/MetaRepository/Installed/RandomTools.control /i-data/md0/admin/zy-pkgs/MetaRepository/Installed/RandomTools_20170220_arm_012.zpkg.ZYPKG
+ echo 'RandomTools 0-012-0 Installed/RandomTools_20170220_arm_012.zpkg'
+ for file in '` ls ${dir}/ `'
++ grep '^Package' /i-data/md0/admin/zy-pkgs/MetaRepository/Installed/SMART.control
++ cut -d ' ' -f 2
+ local package=SMART
++ grep '^Version' /i-data/md0/admin/zy-pkgs/MetaRepository/Installed/SMART.control
++ cut -d ' ' -f 2
+ local version=6.2zypkg007
++ echo 6.2zypkg007
++ sed 's/pkg/ /'
++ cut -d ' ' -f 2
+ version=007
++ grep '^Filename' /i-data/md0/admin/zy-pkgs/MetaRepository/Installed/SMART.control
++ cut -d ' ' -f 2
+ local filename=SMART_6.2_arm_007.zpkg
+ mv /i-data/md0/admin/zy-pkgs/MetaRepository/Installed/SMART.control /i-data/md0/admin/zy-pkgs/MetaRepository/Installed/SMART_6.2_arm_007.zpkg.ZYPKG
+ echo 'SMART 0-007-0 Installed/SMART_6.2_arm_007.zpkg'
+ for file in '` ls ${dir}/ `'
++ grep '^Package' /i-data/md0/admin/zy-pkgs/MetaRepository/Installed/SSH.control
++ cut -d ' ' -f 2
+ local package=SSH
++ grep '^Version' /i-data/md0/admin/zy-pkgs/MetaRepository/Installed/SSH.control
++ cut -d ' ' -f 2
+ local version=6.7zypkg001
++ echo 6.7zypkg001
++ sed 's/pkg/ /'
++ cut -d ' ' -f 2
+ version=001
++ grep '^Filename' /i-data/md0/admin/zy-pkgs/MetaRepository/Installed/SSH.control
++ cut -d ' ' -f 2
+ local filename=SSH_6.7_arm_001.zpkg
+ mv /i-data/md0/admin/zy-pkgs/MetaRepository/Installed/SSH.control /i-data/md0/admin/zy-pkgs/MetaRepository/Installed/SSH_6.7_arm_001.zpkg.ZYPKG
+ echo 'SSH 0-001-0 Installed/SSH_6.7_arm_001.zpkg'
+ for file in '` ls ${dir}/ `'
++ grep '^Package' /i-data/md0/admin/zy-pkgs/MetaRepository/Installed/ffp.control
++ cut -d ' ' -f 2
+ local package=ffp
++ grep '^Version' /i-data/md0/admin/zy-pkgs/MetaRepository/Installed/ffp.control
++ cut -d ' ' -f 2
+ local version=0.7zypkg006
++ echo 0.7zypkg006
++ sed 's/pkg/ /'
++ cut -d ' ' -f 2
+ version=006
++ grep '^Filename' /i-data/md0/admin/zy-pkgs/MetaRepository/Installed/ffp.control
++ cut -d ' ' -f 2
+ local filename=ffp_0.7_arm_006.zpkg
+ mv /i-data/md0/admin/zy-pkgs/MetaRepository/Installed/ffp.control /i-data/md0/admin/zy-pkgs/MetaRepository/Installed/ffp_0.7_arm_006.zpkg.ZYPKG
+ echo 'ffp 0-006-0 Installed/ffp_0.7_arm_006.zpkg'
+ local tmpdir=/tmp/.MetaRepository/tmp
+ '[' -f /i-data/md0/admin/zy-pkgs/MetaRepository/Installed.list ']'
+ echo Installed
++ cut -d ' ' -f 1
++ /sbin/md5sum /i-data/md0/admin/zy-pkgs/MetaRepository/Installed.list
+ md5=b32181b048a8209ab3a5e43d2183a562
+ '[' -f /i-data/md0/admin/zy-pkgs/MetaRepository/Installed.400.md5 ']'
++ cat /i-data/md0/admin/zy-pkgs/MetaRepository/Installed.400.md5
+ '[' b32181b048a8209ab3a5e43d2183a562 = b32181b048a8209ab3a5e43d2183a562 ']'
+ return 1
+ '[' '!' -z 0 -a 0 '!=' 0 ']'
+ local changed=0
+ '[' -f /tmp/.MetaRepository/tmp/changed ']'
+ rm /tmp/.MetaRepository/tmp/changed
+ changed=1
+ '[' 1 -eq 0 ']'
+ listfiles=
++ cat /tmp/.MetaRepository/tmp/repos
+ for repo in '` cat ${tmpdir}/repos `'
+ '[' -f /i-data/md0/admin/zy-pkgs/MetaRepository/http___zyxel.diskstation.eu_Users_Mijzelf_zypkg-repo_fw4_stock_packages_.list ']'
+ listfiles=' /i-data/md0/admin/zy-pkgs/MetaRepository/http___zyxel.diskstation.eu_Users_Mijzelf_zypkg-repo_fw4_stock_packages_.list'
+ '[' -f /i-data/md0/admin/zy-pkgs/MetaRepository/http___zyxel.diskstation.eu_Users_Mijzelf_zypkg-repo_fw4_stock_packages_.depscnt ']'
+ for repo in '` cat ${tmpdir}/repos `'
+ '[' -f /i-data/md0/admin/zy-pkgs/MetaRepository/http___zyxel.diskstation.eu_Users_Mijzelf_zypkg-repo_fw4_.list ']'
+ listfiles=' /i-data/md0/admin/zy-pkgs/MetaRepository/http___zyxel.diskstation.eu_Users_Mijzelf_zypkg-repo_fw4_stock_packages_.list /i-data/md0/admin/zy-pkgs/MetaRepository/http___zyxel.diskstation.eu_Users_Mijzelf_zypkg-repo_fw4_.list'
+ '[' -f /i-data/md0/admin/zy-pkgs/MetaRepository/http___zyxel.diskstation.eu_Users_Mijzelf_zypkg-repo_fw4_.depscnt ']'
+ for repo in '` cat ${tmpdir}/repos `'
+ '[' -f /i-data/md0/admin/zy-pkgs/MetaRepository/Installed.list ']'
+ listfiles=' /i-data/md0/admin/zy-pkgs/MetaRepository/http___zyxel.diskstation.eu_Users_Mijzelf_zypkg-repo_fw4_stock_packages_.list /i-data/md0/admin/zy-pkgs/MetaRepository/http___zyxel.diskstation.eu_Users_Mijzelf_zypkg-repo_fw4_.list /i-data/md0/admin/zy-pkgs/MetaRepository/Installed.list'
+ '[' -f /i-data/md0/admin/zy-pkgs/MetaRepository/Installed.depscnt ']'
+ '[' ' /i-data/md0/admin/zy-pkgs/MetaRepository/http___zyxel.diskstation.eu_Users_Mijzelf_zypkg-repo_fw4_stock_packages_.list /i-data/md0/admin/zy-pkgs/MetaRepository/http___zyxel.diskstation.eu_Users_Mijzelf_zypkg-repo_fw4_.list /i-data/md0/admin/zy-pkgs/MetaRepository/Installed.list' = '' ']'
+ mkdir -p /i-data/md0/admin/zy-pkgs/MetaRepository/NSA325-v2/4.80/zypkg/
+ local listfile=/i-data/md0/admin/zy-pkgs/MetaRepository/NSA325-v2/4.80/zypkg/List
+ cat /i-data/md0/admin/zy-pkgs/MetaRepository/http___zyxel.diskstation.eu_Users_Mijzelf_zypkg-repo_fw4_stock_packages_.list /i-data/md0/admin/zy-pkgs/MetaRepository/http___zyxel.diskstation.eu_Users_Mijzelf_zypkg-repo_fw4_.list /i-data/md0/admin/zy-pkgs/MetaRepository/Installed.list
+ echo Pushlist...
Pushlist...
+ ReadConfig Pushlist
+ echo ReadConfig Pushlist
ReadConfig Pushlist
+ local field=Pushlist
+ local comments=0
+ '[' Pushlist = Comments ']'
+ local myfield=0
+ read line
++ StripLeadingAndTrailingSpaces SCRATCH=/i-data/md0/admin/zy-pkgs/MetaRepository
++ '[' -z SCRATCH=/i-data/md0/admin/zy-pkgs/MetaRepository ']'
++ echo SCRATCH=/i-data/md0/admin/zy-pkgs/MetaRepository
+ line=SCRATCH=/i-data/md0/admin/zy-pkgs/MetaRepository
+ '[' 0 -eq 0 ']'
++ RemoveComments SCRATCH=/i-data/md0/admin/zy-pkgs/MetaRepository
++ echo SCRATCH=/i-data/md0/admin/zy-pkgs/MetaRepository
++ sed 's/#.*$//'
+ line=SCRATCH=/i-data/md0/admin/zy-pkgs/MetaRepository
+ '[' SCRATCH=/i-data/md0/admin/zy-pkgs/MetaRepository = '' ']'
+ case "${line}" in
+ '[' 0 -eq 1 ']'
+ read line
++ StripLeadingAndTrailingSpaces LISTEN_AT=59999
++ '[' -z LISTEN_AT=59999 ']'
++ echo LISTEN_AT=59999
+ line=LISTEN_AT=59999
+ '[' 0 -eq 0 ']'
++ RemoveComments LISTEN_AT=59999
++ echo LISTEN_AT=59999
++ sed 's/#.*$//'
+ line=LISTEN_AT=59999
+ '[' LISTEN_AT=59999 = '' ']'
+ case "${line}" in
+ '[' 0 -eq 1 ']'
+ read line
++ StripLeadingAndTrailingSpaces NOPASV=false
++ '[' -z NOPASV=false ']'
++ echo NOPASV=false
+ line=NOPASV=false
+ '[' 0 -eq 0 ']'
++ RemoveComments NOPASV=false
++ echo NOPASV=false
++ sed 's/#.*$//'
+ line=NOPASV=false
+ '[' NOPASV=false = '' ']'
+ case "${line}" in
+ '[' 0 -eq 1 ']'
+ read line
++ StripLeadingAndTrailingSpaces NOCURL=false
++ '[' -z NOCURL=false ']'
++ echo NOCURL=false
+ line=NOCURL=false
+ '[' 0 -eq 0 ']'
++ RemoveComments NOCURL=false
++ echo NOCURL=false
++ sed 's/#.*$//'
+ line=NOCURL=false
+ '[' NOCURL=false = '' ']'
+ case "${line}" in
+ '[' 0 -eq 1 ']'
+ read line
++ StripLeadingAndTrailingSpaces '# Some trick to keep the rest of the content outside the script:'
++ '[' -z '# Some trick to keep the rest of the content outside the script:' ']'
++ echo '# Some trick to keep the rest of the content outside the script:'
+ line='# Some trick to keep the rest of the content outside the script:'
+ '[' 0 -eq 0 ']'
++ RemoveComments '# Some trick to keep the rest of the content outside the script:'
++ echo '# Some trick to keep the rest of the content outside the script:'
++ sed 's/#.*$//'
+ line=
+ '[' '' = '' ']'
+ continue
+ read line
++ StripLeadingAndTrailingSpaces 'cat >/dev/null <<__EOF__'
++ '[' -z 'cat >/dev/null <<__EOF__' ']'
++ echo 'cat >/dev/null <<__EOF__'
+ line='cat >/dev/null <<__EOF__'
+ '[' 0 -eq 0 ']'
++ RemoveComments 'cat >/dev/null <<__EOF__'
++ sed 's/#.*$//'
++ echo 'cat >/dev/null <<__EOF__'
+ line='cat >/dev/null <<__EOF__'
+ '[' 'cat >/dev/null <<__EOF__' = '' ']'
+ case "${line}" in
+ '[' 0 -eq 1 ']'
+ read line
++ StripLeadingAndTrailingSpaces ''
++ '[' -z '' ']'
++ return
+ line=
+ '[' 0 -eq 0 ']'
++ RemoveComments ''
++ echo ''
++ sed 's/#.*$//'
+ line=
+ '[' '' = '' ']'
+ continue
+ read line
++ StripLeadingAndTrailingSpaces '[Repositories]'
++ '[' -z '[Repositories]' ']'
++ echo '[Repositories]'
+ line='[Repositories]'
+ '[' 0 -eq 0 ']'
++ RemoveComments '[Repositories]'
++ echo '[Repositories]'
++ sed 's/#.*$//'
+ line='[Repositories]'
+ '[' '[Repositories]' = '' ']'
+ case "${line}" in
+ '[' 0 -eq 1 ']'
+ '[' 0 -eq 1 ']'
+ read line
++ StripLeadingAndTrailingSpaces 'http://zyxel.diskstation.eu/Users/Mijzelf/zypkg-repo/fw4_stock_packages/ Stock'
++ '[' -z 'http://zyxel.diskstation.eu/Users/Mijzelf/zypkg-repo/fw4_stock_packages/ Stock' ']'
++ echo 'http://zyxel.diskstation.eu/Users/Mijzelf/zypkg-repo/fw4_stock_packages/ Stock'
+ line='http://zyxel.diskstation.eu/Users/Mijzelf/zypkg-repo/fw4_stock_packages/ Stock'
+ '[' 0 -eq 0 ']'
++ RemoveComments 'http://zyxel.diskstation.eu/Users/Mijzelf/zypkg-repo/fw4_stock_packages/ Stock'
++ echo 'http://zyxel.diskstation.eu/Users/Mijzelf/zypkg-repo/fw4_stock_packages/ Stock'
++ sed 's/#.*$//'
+ line='http://zyxel.diskstation.eu/Users/Mijzelf/zypkg-repo/fw4_stock_packages/ Stock'
+ '[' 'http://zyxel.diskstation.eu/Users/Mijzelf/zypkg-repo/fw4_stock_packages/ Stock' = '' ']'
+ case "${line}" in
+ '[' 0 -eq 1 ']'
+ read line
++ StripLeadingAndTrailingSpaces 'http://zyxel.diskstation.eu/Users/Mijzelf/zypkg-repo/fw4 Mijzelf'
++ '[' -z 'http://zyxel.diskstation.eu/Users/Mijzelf/zypkg-repo/fw4 Mijzelf' ']'
++ echo 'http://zyxel.diskstation.eu/Users/Mijzelf/zypkg-repo/fw4 Mijzelf'
+ line='http://zyxel.diskstation.eu/Users/Mijzelf/zypkg-repo/fw4 Mijzelf'
+ '[' 0 -eq 0 ']'
++ RemoveComments 'http://zyxel.diskstation.eu/Users/Mijzelf/zypkg-repo/fw4 Mijzelf'
++ echo 'http://zyxel.diskstation.eu/Users/Mijzelf/zypkg-repo/fw4 Mijzelf'
++ sed 's/#.*$//'
+ line='http://zyxel.diskstation.eu/Users/Mijzelf/zypkg-repo/fw4 Mijzelf'
+ '[' 'http://zyxel.diskstation.eu/Users/Mijzelf/zypkg-repo/fw4 Mijzelf' = '' ']'
+ case "${line}" in
+ '[' 0 -eq 1 ']'
+ read line
++ StripLeadingAndTrailingSpaces '[Blacklist]'
++ '[' -z '[Blacklist]' ']'
++ echo '[Blacklist]'
+ line='[Blacklist]'
+ '[' 0 -eq 0 ']'
++ RemoveComments '[Blacklist]'
++ echo '[Blacklist]'
++ sed 's/#.*$//'
+ line='[Blacklist]'
+ '[' '[Blacklist]' = '' ']'
+ case "${line}" in
+ '[' 0 -eq 1 ']'
+ '[' 0 -eq 1 ']'
+ read line
++ StripLeadingAndTrailingSpaces '[Pushlist]'
++ '[' -z '[Pushlist]' ']'
++ echo '[Pushlist]'
+ line='[Pushlist]'
+ '[' 0 -eq 0 ']'
++ RemoveComments '[Pushlist]'
++ sed 's/#.*$//'
++ echo '[Pushlist]'
+ line='[Pushlist]'
+ '[' '[Pushlist]' = '' ']'
+ case "${line}" in
+ echo -e '\tStart of block'
	Start of block
+ myfield=1
+ continue
+ read line
++ StripLeadingAndTrailingSpaces '[End]'
++ '[' -z '[End]' ']'
++ echo '[End]'
+ line='[End]'
+ '[' 0 -eq 0 ']'
++ RemoveComments '[End]'
++ sed 's/#.*$//'
++ echo '[End]'
+ line='[End]'
+ '[' '[End]' = '' ']'
+ case "${line}" in
+ '[' 1 -eq 1 ']'
+ echo -e '\tEnd of block'
	End of block
+ return
+ read line
+ echo Blacklist...
Blacklist...
+ ReadConfig Blacklist
+ echo ReadConfig Blacklist
ReadConfig Blacklist
+ local field=Blacklist
+ local comments=0
+ '[' Blacklist = Comments ']'
+ local myfield=0
+ read line
++ StripLeadingAndTrailingSpaces SCRATCH=/i-data/md0/admin/zy-pkgs/MetaRepository
++ '[' -z SCRATCH=/i-data/md0/admin/zy-pkgs/MetaRepository ']'
++ echo SCRATCH=/i-data/md0/admin/zy-pkgs/MetaRepository
+ line=SCRATCH=/i-data/md0/admin/zy-pkgs/MetaRepository
+ '[' 0 -eq 0 ']'
++ RemoveComments SCRATCH=/i-data/md0/admin/zy-pkgs/MetaRepository
++ sed 's/#.*$//'
++ echo SCRATCH=/i-data/md0/admin/zy-pkgs/MetaRepository
+ line=SCRATCH=/i-data/md0/admin/zy-pkgs/MetaRepository
+ '[' SCRATCH=/i-data/md0/admin/zy-pkgs/MetaRepository = '' ']'
+ case "${line}" in
+ '[' 0 -eq 1 ']'
+ read line
++ StripLeadingAndTrailingSpaces LISTEN_AT=59999
++ '[' -z LISTEN_AT=59999 ']'
++ echo LISTEN_AT=59999
+ line=LISTEN_AT=59999
+ '[' 0 -eq 0 ']'
++ RemoveComments LISTEN_AT=59999
++ echo LISTEN_AT=59999
++ sed 's/#.*$//'
+ line=LISTEN_AT=59999
+ '[' LISTEN_AT=59999 = '' ']'
+ case "${line}" in
+ '[' 0 -eq 1 ']'
+ read line
++ StripLeadingAndTrailingSpaces NOPASV=false
++ '[' -z NOPASV=false ']'
++ echo NOPASV=false
+ line=NOPASV=false
+ '[' 0 -eq 0 ']'
++ RemoveComments NOPASV=false
++ echo NOPASV=false
++ sed 's/#.*$//'
+ line=NOPASV=false
+ '[' NOPASV=false = '' ']'
+ case "${line}" in
+ '[' 0 -eq 1 ']'
+ read line
++ StripLeadingAndTrailingSpaces NOCURL=false
++ '[' -z NOCURL=false ']'
++ echo NOCURL=false
+ line=NOCURL=false
+ '[' 0 -eq 0 ']'
++ RemoveComments NOCURL=false
++ echo NOCURL=false
++ sed 's/#.*$//'
+ line=NOCURL=false
+ '[' NOCURL=false = '' ']'
+ case "${line}" in
+ '[' 0 -eq 1 ']'
+ read line
++ StripLeadingAndTrailingSpaces '# Some trick to keep the rest of the content outside the script:'
++ '[' -z '# Some trick to keep the rest of the content outside the script:' ']'
++ echo '# Some trick to keep the rest of the content outside the script:'
+ line='# Some trick to keep the rest of the content outside the script:'
+ '[' 0 -eq 0 ']'
++ RemoveComments '# Some trick to keep the rest of the content outside the script:'
++ sed 's/#.*$//'
++ echo '# Some trick to keep the rest of the content outside the script:'
+ line=
+ '[' '' = '' ']'
+ continue
+ read line
++ StripLeadingAndTrailingSpaces 'cat >/dev/null <<__EOF__'
++ '[' -z 'cat >/dev/null <<__EOF__' ']'
++ echo 'cat >/dev/null <<__EOF__'
+ line='cat >/dev/null <<__EOF__'
+ '[' 0 -eq 0 ']'
++ RemoveComments 'cat >/dev/null <<__EOF__'
++ sed 's/#.*$//'
++ echo 'cat >/dev/null <<__EOF__'
+ line='cat >/dev/null <<__EOF__'
+ '[' 'cat >/dev/null <<__EOF__' = '' ']'
+ case "${line}" in
+ '[' 0 -eq 1 ']'
+ read line
++ StripLeadingAndTrailingSpaces ''
++ '[' -z '' ']'
++ return
+ line=
+ '[' 0 -eq 0 ']'
++ RemoveComments ''
++ echo ''
++ sed 's/#.*$//'
+ line=
+ '[' '' = '' ']'
+ continue
+ read line
++ StripLeadingAndTrailingSpaces '[Repositories]'
++ '[' -z '[Repositories]' ']'
++ echo '[Repositories]'
+ line='[Repositories]'
+ '[' 0 -eq 0 ']'
++ RemoveComments '[Repositories]'
++ sed 's/#.*$//'
++ echo '[Repositories]'
+ line='[Repositories]'
+ '[' '[Repositories]' = '' ']'
+ case "${line}" in
+ '[' 0 -eq 1 ']'
+ '[' 0 -eq 1 ']'
+ read line
++ StripLeadingAndTrailingSpaces 'http://zyxel.diskstation.eu/Users/Mijzelf/zypkg-repo/fw4_stock_packages/ Stock'
++ '[' -z 'http://zyxel.diskstation.eu/Users/Mijzelf/zypkg-repo/fw4_stock_packages/ Stock' ']'
++ echo 'http://zyxel.diskstation.eu/Users/Mijzelf/zypkg-repo/fw4_stock_packages/ Stock'
+ line='http://zyxel.diskstation.eu/Users/Mijzelf/zypkg-repo/fw4_stock_packages/ Stock'
+ '[' 0 -eq 0 ']'
++ RemoveComments 'http://zyxel.diskstation.eu/Users/Mijzelf/zypkg-repo/fw4_stock_packages/ Stock'
++ echo 'http://zyxel.diskstation.eu/Users/Mijzelf/zypkg-repo/fw4_stock_packages/ Stock'
++ sed 's/#.*$//'
+ line='http://zyxel.diskstation.eu/Users/Mijzelf/zypkg-repo/fw4_stock_packages/ Stock'
+ '[' 'http://zyxel.diskstation.eu/Users/Mijzelf/zypkg-repo/fw4_stock_packages/ Stock' = '' ']'
+ case "${line}" in
+ '[' 0 -eq 1 ']'
+ read line
++ StripLeadingAndTrailingSpaces 'http://zyxel.diskstation.eu/Users/Mijzelf/zypkg-repo/fw4 Mijzelf'
++ '[' -z 'http://zyxel.diskstation.eu/Users/Mijzelf/zypkg-repo/fw4 Mijzelf' ']'
++ echo 'http://zyxel.diskstation.eu/Users/Mijzelf/zypkg-repo/fw4 Mijzelf'
+ line='http://zyxel.diskstation.eu/Users/Mijzelf/zypkg-repo/fw4 Mijzelf'
+ '[' 0 -eq 0 ']'
++ RemoveComments 'http://zyxel.diskstation.eu/Users/Mijzelf/zypkg-repo/fw4 Mijzelf'
++ echo 'http://zyxel.diskstation.eu/Users/Mijzelf/zypkg-repo/fw4 Mijzelf'
++ sed 's/#.*$//'
+ line='http://zyxel.diskstation.eu/Users/Mijzelf/zypkg-repo/fw4 Mijzelf'
+ '[' 'http://zyxel.diskstation.eu/Users/Mijzelf/zypkg-repo/fw4 Mijzelf' = '' ']'
+ case "${line}" in
+ '[' 0 -eq 1 ']'
+ read line
++ StripLeadingAndTrailingSpaces '[Blacklist]'
++ '[' -z '[Blacklist]' ']'
++ echo '[Blacklist]'
+ line='[Blacklist]'
+ '[' 0 -eq 0 ']'
++ RemoveComments '[Blacklist]'
++ echo '[Blacklist]'
++ sed 's/#.*$//'
+ line='[Blacklist]'
+ '[' '[Blacklist]' = '' ']'
+ case "${line}" in
+ echo -e '\tStart of block'
	Start of block
+ myfield=1
+ continue
+ read line
++ StripLeadingAndTrailingSpaces '[Pushlist]'
++ '[' -z '[Pushlist]' ']'
++ echo '[Pushlist]'
+ line='[Pushlist]'
+ '[' 0 -eq 0 ']'
++ RemoveComments '[Pushlist]'
++ echo '[Pushlist]'
++ sed 's/#.*$//'
+ line='[Pushlist]'
+ '[' '[Pushlist]' = '' ']'
+ case "${line}" in
+ '[' 1 -eq 1 ']'
+ echo -e '\tEnd of block'
	End of block
+ return
+ read line
+ rm /tmp/.MetaRepository/tmp/26880.ReadConfig.26880
+ echo Sort...
Sort...
+ cat /i-data/md0/admin/zy-pkgs/MetaRepository/NSA325-v2/4.80/zypkg/List.26880
+ sort -r -f
+ rm /i-data/md0/admin/zy-pkgs/MetaRepository/NSA325-v2/4.80/zypkg/List.26880
+ echo Choose packages...
Choose packages...
+ '[' '!' -z /i-data/md0/admin/zy-pkgs/ZYPKGS ']'
+ local targetZYPKGS=/i-data/md0/admin/zy-pkgs/MetaRepository/NSA325-v2/4.80/zypkg/./i-data/md0/admin/zy-pkgs/ZYPKGS
+ '[' '!' -z /usr/local/zy-pkgs/gui/ZYPKG_LANG_LIST ']'
+ local targetLANGLIST=/i-data/md0/admin/zy-pkgs/MetaRepository/NSA325-v2/4.80/zypkg/./usr/local/zy-pkgs/gui/ZYPKG_LANG_LIST
+ '[' '!' -z /usr/local/zy-pkgs/etc/init.d/ZYPKG_DEPS ']'
+ local targetDEPS=/i-data/md0/admin/zy-pkgs/MetaRepository/NSA325-v2/4.80/zypkg/./usr/local/zy-pkgs/etc/init.d/ZYPKG_DEPS
+ '[' '!' -z ']'
+ '[' '!' -z ']'
+ for file in '$targetZYPKGS' '$targetLANGLIST' '$targetDEPS' '$targetSUPPKG'
++ dirname /i-data/md0/admin/zy-pkgs/MetaRepository/NSA325-v2/4.80/zypkg/./i-data/md0/admin/zy-pkgs/ZYPKGS
+ mkdir -p /i-data/md0/admin/zy-pkgs/MetaRepository/NSA325-v2/4.80/zypkg/./i-data/md0/admin/zy-pkgs
+ '[' -f /i-data/md0/admin/zy-pkgs/MetaRepository/NSA325-v2/4.80/zypkg/./i-data/md0/admin/zy-pkgs/ZYPKGS ']'
+ rm /i-data/md0/admin/zy-pkgs/MetaRepository/NSA325-v2/4.80/zypkg/./i-data/md0/admin/zy-pkgs/ZYPKGS
+ for file in '$targetZYPKGS' '$targetLANGLIST' '$targetDEPS' '$targetSUPPKG'
++ dirname /i-data/md0/admin/zy-pkgs/MetaRepository/NSA325-v2/4.80/zypkg/./usr/local/zy-pkgs/gui/ZYPKG_LANG_LIST
+ mkdir -p /i-data/md0/admin/zy-pkgs/MetaRepository/NSA325-v2/4.80/zypkg/./usr/local/zy-pkgs/gui
+ '[' -f /i-data/md0/admin/zy-pkgs/MetaRepository/NSA325-v2/4.80/zypkg/./usr/local/zy-pkgs/gui/ZYPKG_LANG_LIST ']'
+ for file in '$targetZYPKGS' '$targetLANGLIST' '$targetDEPS' '$targetSUPPKG'
++ dirname /i-data/md0/admin/zy-pkgs/MetaRepository/NSA325-v2/4.80/zypkg/./usr/local/zy-pkgs/etc/init.d/ZYPKG_DEPS
+ mkdir -p /i-data/md0/admin/zy-pkgs/MetaRepository/NSA325-v2/4.80/zypkg/./usr/local/zy-pkgs/etc/init.d
+ '[' -f /i-data/md0/admin/zy-pkgs/MetaRepository/NSA325-v2/4.80/zypkg/./usr/local/zy-pkgs/etc/init.d/ZYPKG_DEPS ']'
+ local 'latestpackage=# None '
+ read line
++ cut -d ' ' -f 1
++ echo SSH 0-001-0 Installed/SSH_6.7_arm_001.zpkg
+ local package=SSH
+ case $package in
+ latestpackage=SSH
++ echo SSH 0-001-0 Installed/SSH_6.7_arm_001.zpkg
++ cut -d ' ' -f 3
+ local splitfile=Installed/SSH_6.7_arm_001.zpkg
++ dirname Installed/SSH_6.7_arm_001.zpkg
+ local dir=Installed
+ '[' '!' -z /i-data/md0/admin/zy-pkgs/MetaRepository/NSA325-v2/4.80/zypkg/./i-data/md0/admin/zy-pkgs/ZYPKGS ']'
+ cat /i-data/md0/admin/zy-pkgs/MetaRepository/Installed/SSH_6.7_arm_001.zpkg.ZYPKG
+ echo
+ '[' '!' -z /i-data/md0/admin/zy-pkgs/MetaRepository/NSA325-v2/4.80/zypkg/./usr/local/zy-pkgs/gui/ZYPKG_LANG_LIST ']'
+ local langlist=/i-data/md0/admin/zy-pkgs/MetaRepository/Installed/SSH_6.7_arm_001.zpkg.LANGLIST
+ '[' -f /i-data/md0/admin/zy-pkgs/MetaRepository/Installed/SSH_6.7_arm_001.zpkg.LANGLIST ']'
++ dirname /i-data/md0/admin/zy-pkgs/MetaRepository/Installed/SSH_6.7_arm_001.zpkg
+ local repo=/i-data/md0/admin/zy-pkgs/MetaRepository/Installed
++ basename Installed/SSH_6.7_arm_001.zpkg
+ local splitfilename=SSH_6.7_arm_001.zpkg
++ cat /i-data/md0/admin/zy-pkgs/MetaRepository/Installed.url
+ echo /i-data/md0/admin/zy-pkgs/SSH_6.7_arm_001.zpkg
+ '[' '!' -z /i-data/md0/admin/zy-pkgs/MetaRepository/NSA325-v2/4.80/zypkg/./usr/local/zy-pkgs/etc/init.d/ZYPKG_DEPS ']'
+ '[' -f /i-data/md0/admin/zy-pkgs/MetaRepository/Installed/usr/local/zy-pkgs/etc/init.d/ZYPKG_DEPS ']'
+ '[' '!' -z ']'
+ read line
++ echo SMART 0-007-0 Installed/SMART_6.2_arm_007.zpkg
++ cut -d ' ' -f 1
+ local package=SMART
+ case $package in
+ latestpackage=SMART
++ echo SMART 0-007-0 Installed/SMART_6.2_arm_007.zpkg
++ cut -d ' ' -f 3
+ local splitfile=Installed/SMART_6.2_arm_007.zpkg
++ dirname Installed/SMART_6.2_arm_007.zpkg
+ local dir=Installed
+ '[' '!' -z /i-data/md0/admin/zy-pkgs/MetaRepository/NSA325-v2/4.80/zypkg/./i-data/md0/admin/zy-pkgs/ZYPKGS ']'
+ cat /i-data/md0/admin/zy-pkgs/MetaRepository/Installed/SMART_6.2_arm_007.zpkg.ZYPKG
+ echo
+ '[' '!' -z /i-data/md0/admin/zy-pkgs/MetaRepository/NSA325-v2/4.80/zypkg/./usr/local/zy-pkgs/gui/ZYPKG_LANG_LIST ']'
+ local langlist=/i-data/md0/admin/zy-pkgs/MetaRepository/Installed/SMART_6.2_arm_007.zpkg.LANGLIST
+ '[' -f /i-data/md0/admin/zy-pkgs/MetaRepository/Installed/SMART_6.2_arm_007.zpkg.LANGLIST ']'
++ dirname /i-data/md0/admin/zy-pkgs/MetaRepository/Installed/SMART_6.2_arm_007.zpkg
+ local repo=/i-data/md0/admin/zy-pkgs/MetaRepository/Installed
++ basename Installed/SMART_6.2_arm_007.zpkg
+ local splitfilename=SMART_6.2_arm_007.zpkg
++ cat /i-data/md0/admin/zy-pkgs/MetaRepository/Installed.url
+ echo /i-data/md0/admin/zy-pkgs/SMART_6.2_arm_007.zpkg
+ '[' '!' -z /i-data/md0/admin/zy-pkgs/MetaRepository/NSA325-v2/4.80/zypkg/./usr/local/zy-pkgs/etc/init.d/ZYPKG_DEPS ']'
+ '[' -f /i-data/md0/admin/zy-pkgs/MetaRepository/Installed/usr/local/zy-pkgs/etc/init.d/ZYPKG_DEPS ']'
+ '[' '!' -z ']'
+ read line
++ echo RandomTools 0-012-0 Installed/RandomTools_20170220_arm_012.zpkg
++ cut -d ' ' -f 1
+ local package=RandomTools
+ case $package in
+ latestpackage=RandomTools
++ echo RandomTools 0-012-0 Installed/RandomTools_20170220_arm_012.zpkg
++ cut -d ' ' -f 3
+ local splitfile=Installed/RandomTools_20170220_arm_012.zpkg
++ dirname Installed/RandomTools_20170220_arm_012.zpkg
+ local dir=Installed
+ '[' '!' -z /i-data/md0/admin/zy-pkgs/MetaRepository/NSA325-v2/4.80/zypkg/./i-data/md0/admin/zy-pkgs/ZYPKGS ']'
+ cat /i-data/md0/admin/zy-pkgs/MetaRepository/Installed/RandomTools_20170220_arm_012.zpkg.ZYPKG
+ echo
+ '[' '!' -z /i-data/md0/admin/zy-pkgs/MetaRepository/NSA325-v2/4.80/zypkg/./usr/local/zy-pkgs/gui/ZYPKG_LANG_LIST ']'
+ local langlist=/i-data/md0/admin/zy-pkgs/MetaRepository/Installed/RandomTools_20170220_arm_012.zpkg.LANGLIST
+ '[' -f /i-data/md0/admin/zy-pkgs/MetaRepository/Installed/RandomTools_20170220_arm_012.zpkg.LANGLIST ']'
++ dirname /i-data/md0/admin/zy-pkgs/MetaRepository/Installed/RandomTools_20170220_arm_012.zpkg
+ local repo=/i-data/md0/admin/zy-pkgs/MetaRepository/Installed
++ basename Installed/RandomTools_20170220_arm_012.zpkg
+ local splitfilename=RandomTools_20170220_arm_012.zpkg
++ cat /i-data/md0/admin/zy-pkgs/MetaRepository/Installed.url
+ echo /i-data/md0/admin/zy-pkgs/RandomTools_20170220_arm_012.zpkg
+ '[' '!' -z /i-data/md0/admin/zy-pkgs/MetaRepository/NSA325-v2/4.80/zypkg/./usr/local/zy-pkgs/etc/init.d/ZYPKG_DEPS ']'
+ '[' -f /i-data/md0/admin/zy-pkgs/MetaRepository/Installed/usr/local/zy-pkgs/etc/init.d/ZYPKG_DEPS ']'
+ '[' '!' -z ']'
+ read line
++ echo NFS 0-005-0 Installed/NFS_1.1.4_arm_005.zpkg
++ cut -d ' ' -f 1
+ local package=NFS
+ case $package in
+ latestpackage=NFS
++ echo NFS 0-005-0 Installed/NFS_1.1.4_arm_005.zpkg
++ cut -d ' ' -f 3
+ local splitfile=Installed/NFS_1.1.4_arm_005.zpkg
++ dirname Installed/NFS_1.1.4_arm_005.zpkg
+ local dir=Installed
+ '[' '!' -z /i-data/md0/admin/zy-pkgs/MetaRepository/NSA325-v2/4.80/zypkg/./i-data/md0/admin/zy-pkgs/ZYPKGS ']'
+ cat /i-data/md0/admin/zy-pkgs/MetaRepository/Installed/NFS_1.1.4_arm_005.zpkg.ZYPKG
+ echo
+ '[' '!' -z /i-data/md0/admin/zy-pkgs/MetaRepository/NSA325-v2/4.80/zypkg/./usr/local/zy-pkgs/gui/ZYPKG_LANG_LIST ']'
+ local langlist=/i-data/md0/admin/zy-pkgs/MetaRepository/Installed/NFS_1.1.4_arm_005.zpkg.LANGLIST
+ '[' -f /i-data/md0/admin/zy-pkgs/MetaRepository/Installed/NFS_1.1.4_arm_005.zpkg.LANGLIST ']'
++ dirname /i-data/md0/admin/zy-pkgs/MetaRepository/Installed/NFS_1.1.4_arm_005.zpkg
+ local repo=/i-data/md0/admin/zy-pkgs/MetaRepository/Installed
++ basename Installed/NFS_1.1.4_arm_005.zpkg
+ local splitfilename=NFS_1.1.4_arm_005.zpkg
++ cat /i-data/md0/admin/zy-pkgs/MetaRepository/Installed.url
+ echo /i-data/md0/admin/zy-pkgs/NFS_1.1.4_arm_005.zpkg
+ '[' '!' -z /i-data/md0/admin/zy-pkgs/MetaRepository/NSA325-v2/4.80/zypkg/./usr/local/zy-pkgs/etc/init.d/ZYPKG_DEPS ']'
+ '[' -f /i-data/md0/admin/zy-pkgs/MetaRepository/Installed/usr/local/zy-pkgs/etc/init.d/ZYPKG_DEPS ']'
+ '[' '!' -z ']'
+ read line
++ echo MetaRepository 0-015-0 Installed/MetaRepository_20181001_arm_015.zpkg
++ cut -d ' ' -f 1
+ local package=MetaRepository
+ case $package in
+ latestpackage=MetaRepository
++ echo MetaRepository 0-015-0 Installed/MetaRepository_20181001_arm_015.zpkg
++ cut -d ' ' -f 3
+ local splitfile=Installed/MetaRepository_20181001_arm_015.zpkg
++ dirname Installed/MetaRepository_20181001_arm_015.zpkg
+ local dir=Installed
+ '[' '!' -z /i-data/md0/admin/zy-pkgs/MetaRepository/NSA325-v2/4.80/zypkg/./i-data/md0/admin/zy-pkgs/ZYPKGS ']'
+ cat /i-data/md0/admin/zy-pkgs/MetaRepository/Installed/MetaRepository_20181001_arm_015.zpkg.ZYPKG
+ echo
+ '[' '!' -z /i-data/md0/admin/zy-pkgs/MetaRepository/NSA325-v2/4.80/zypkg/./usr/local/zy-pkgs/gui/ZYPKG_LANG_LIST ']'
+ local langlist=/i-data/md0/admin/zy-pkgs/MetaRepository/Installed/MetaRepository_20181001_arm_015.zpkg.LANGLIST
+ '[' -f /i-data/md0/admin/zy-pkgs/MetaRepository/Installed/MetaRepository_20181001_arm_015.zpkg.LANGLIST ']'
++ dirname /i-data/md0/admin/zy-pkgs/MetaRepository/Installed/MetaRepository_20181001_arm_015.zpkg
+ local repo=/i-data/md0/admin/zy-pkgs/MetaRepository/Installed
++ basename Installed/MetaRepository_20181001_arm_015.zpkg
+ local splitfilename=MetaRepository_20181001_arm_015.zpkg
++ cat /i-data/md0/admin/zy-pkgs/MetaRepository/Installed.url
+ echo /i-data/md0/admin/zy-pkgs/MetaRepository_20181001_arm_015.zpkg
+ '[' '!' -z /i-data/md0/admin/zy-pkgs/MetaRepository/NSA325-v2/4.80/zypkg/./usr/local/zy-pkgs/etc/init.d/ZYPKG_DEPS ']'
+ '[' -f /i-data/md0/admin/zy-pkgs/MetaRepository/Installed/usr/local/zy-pkgs/etc/init.d/ZYPKG_DEPS ']'
+ '[' '!' -z ']'
+ read line
++ echo ffp 0-006-0 Installed/ffp_0.7_arm_006.zpkg
++ cut -d ' ' -f 1
+ local package=ffp
+ case $package in
+ latestpackage=ffp
++ echo ffp 0-006-0 Installed/ffp_0.7_arm_006.zpkg
++ cut -d ' ' -f 3
+ local splitfile=Installed/ffp_0.7_arm_006.zpkg
++ dirname Installed/ffp_0.7_arm_006.zpkg
+ local dir=Installed
+ '[' '!' -z /i-data/md0/admin/zy-pkgs/MetaRepository/NSA325-v2/4.80/zypkg/./i-data/md0/admin/zy-pkgs/ZYPKGS ']'
+ cat /i-data/md0/admin/zy-pkgs/MetaRepository/Installed/ffp_0.7_arm_006.zpkg.ZYPKG
+ echo
+ '[' '!' -z /i-data/md0/admin/zy-pkgs/MetaRepository/NSA325-v2/4.80/zypkg/./usr/local/zy-pkgs/gui/ZYPKG_LANG_LIST ']'
+ local langlist=/i-data/md0/admin/zy-pkgs/MetaRepository/Installed/ffp_0.7_arm_006.zpkg.LANGLIST
+ '[' -f /i-data/md0/admin/zy-pkgs/MetaRepository/Installed/ffp_0.7_arm_006.zpkg.LANGLIST ']'
++ dirname /i-data/md0/admin/zy-pkgs/MetaRepository/Installed/ffp_0.7_arm_006.zpkg
+ local repo=/i-data/md0/admin/zy-pkgs/MetaRepository/Installed
++ basename Installed/ffp_0.7_arm_006.zpkg
+ local splitfilename=ffp_0.7_arm_006.zpkg
++ cat /i-data/md0/admin/zy-pkgs/MetaRepository/Installed.url
+ echo /i-data/md0/admin/zy-pkgs/ffp_0.7_arm_006.zpkg
+ '[' '!' -z /i-data/md0/admin/zy-pkgs/MetaRepository/NSA325-v2/4.80/zypkg/./usr/local/zy-pkgs/etc/init.d/ZYPKG_DEPS ']'
+ '[' -f /i-data/md0/admin/zy-pkgs/MetaRepository/Installed/usr/local/zy-pkgs/etc/init.d/ZYPKG_DEPS ']'
+ '[' '!' -z ']'
+ read line
++ echo $'ffp\r' $'btsync\r' $'anyterm\r' $'MetaRepository\r' $'Dropbear\r' $'MidnightCommander\r' $'Tweaks\r' $'RandomTools\r' $'EncryptedShares\r' $'exFAT\r' $'MuninLite\r' $'Pulse\r' $'CalibreCOPS\r' $'Darkstat\r' $'PlexMediaServer\r' $'Entware-ng\r' $'ffp\r' $'btsync\r' $'anyterm\r' $'MetaRepository\r' $'Dropbear\r' $'MidnightCommander\r' $'Tweaks\r' $'RandomTools\r' $'EncryptedShares\r' $'exFAT\r' $'MuninLite\r' $'Pulse\r' $'CalibreCOPS\r' $'Darkstat\r' $'PlexMediaServer\r' $'Entware-ng\r' $'ffp\r' $'btsync\r' $'anyterm\r' $'MetaRepository\r' $'Dropbear\r' $'MidnightCommander\r' $'Tweaks\r' $'RandomTools\r' $'EncryptedShares\r' $'exFAT\r' $'MuninLite\r' $'Pulse\r' $'CalibreCOPS\r' $'Darkstat\r' $'PlexMediaServer\r' $'Entware-ng\r' $'1-006\r-8' $'http___zyxel.diskstation.eu_Users_Mijzelf_zypkg-repo_fw4_/ffp_0.7_arm_006.zpkg\r' $'btsync_1.4.110_arm_007.zpkg\r' $'anyterm_9652_arm_001.zpkg\r' $'MetaRepository_20181001_arm_015.zpkg\r' $'Dropbear_2014.63_arm_002.zpkg\r' $'MidnightCommander_4.6.1_arm_003.zpkg\r' $'Tweaks_20200310_arm_035.zpkg\r' $'RandomTools_20170220_arm_012.zpkg\r' $'EncryptedShares_20140603_arm_001.zpkg\r' $'exFAT_1.0.1_arm_001.zpkg\r' $'MuninLite_1.0.4_arm_003.zpkg\r' $'Pulse_0.12.4_arm_04.zpkg\r' $'CalibreCOPS_1.1.3_arm_008.zpkg\r' $'Darkstat_3.0.719_arm_005.zpkg\r' $'PlexMediaServer_20161213_arm_003.zpkg\r' $'Entware-ng_20181002_arm_006.zpkg\r' $'ffp_0.7_arm_006.zpkg\r' $'btsync_1.4.110_arm_007.zpkg\r' $'anyterm_9652_arm_001.zpkg\r' $'MetaRepository_20181001_arm_015.zpkg\r' $'Dropbear_2014.63_arm_002.zpkg\r' $'MidnightCommander_4.6.1_arm_003.zpkg\r' $'Tweaks_20200310_arm_035.zpkg\r' $'RandomTools_20170220_arm_012.zpkg\r' $'EncryptedShares_20140603_arm_001.zpkg\r' $'exFAT_1.0.1_arm_001.zpkg\r' $'MuninLite_1.0.4_arm_003.zpkg\r' $'Pulse_0.12.4_arm_04.zpkg\r' $'CalibreCOPS_1.1.3_arm_008.zpkg\r' $'Darkstat_3.0.719_arm_005.zpkg\r' $'PlexMediaServer_20161213_arm_003.zpkg\r' $'Entware-ng_20181002_arm_006.zpkg\r' $'ffp_0.7_arm_006.zpkg\r' $'btsync_1.4.110_arm_007.zpkg\r' $'anyterm_9652_arm_001.zpkg\r' $'MetaRepository_20181001_arm_015.zpkg\r' $'Dropbear_2014.63_arm_002.zpkg\r' $'MidnightCommander_4.6.1_arm_003.zpkg\r' $'Tweaks_20200310_arm_035.zpkg\r' $'RandomTools_20170220_arm_012.zpkg\r' $'EncryptedShares_20140603_arm_001.zpkg\r' $'exFAT_1.0.1_arm_001.zpkg\r' $'MuninLite_1.0.4_arm_003.zpkg\r' $'Pulse_0.12.4_arm_04.zpkg\r' $'CalibreCOPS_1.1.3_arm_008.zpkg\r' $'Darkstat_3.0.719_arm_005.zpkg\r' $'PlexMediaServer_20161213_arm_003.zpkg\r' $'Entware-ng_20181002_arm_006.zpkg\r'
++ cut -d ' ' -f 1
+ local $'package=ffp\r'
+ case $package in
+ latestpackage=$'ffp\r'
++ echo $'ffp\r' $'btsync\r' $'anyterm\r' $'MetaRepository\r' $'Dropbear\r' $'MidnightCommander\r' $'Tweaks\r' $'RandomTools\r' $'EncryptedShares\r' $'exFAT\r' $'MuninLite\r' $'Pulse\r' $'CalibreCOPS\r' $'Darkstat\r' $'PlexMediaServer\r' $'Entware-ng\r' $'ffp\r' $'btsync\r' $'anyterm\r' $'MetaRepository\r' $'Dropbear\r' $'MidnightCommander\r' $'Tweaks\r' $'RandomTools\r' $'EncryptedShares\r' $'exFAT\r' $'MuninLite\r' $'Pulse\r' $'CalibreCOPS\r' $'Darkstat\r' $'PlexMediaServer\r' $'Entware-ng\r' $'ffp\r' $'btsync\r' $'anyterm\r' $'MetaRepository\r' $'Dropbear\r' $'MidnightCommander\r' $'Tweaks\r' $'RandomTools\r' $'EncryptedShares\r' $'exFAT\r' $'MuninLite\r' $'Pulse\r' $'CalibreCOPS\r' $'Darkstat\r' $'PlexMediaServer\r' $'Entware-ng\r' $'1-006\r-8' $'http___zyxel.diskstation.eu_Users_Mijzelf_zypkg-repo_fw4_/ffp_0.7_arm_006.zpkg\r' $'btsync_1.4.110_arm_007.zpkg\r' $'anyterm_9652_arm_001.zpkg\r' $'MetaRepository_20181001_arm_015.zpkg\r' $'Dropbear_2014.63_arm_002.zpkg\r' $'MidnightCommander_4.6.1_arm_003.zpkg\r' $'Tweaks_20200310_arm_035.zpkg\r' $'RandomTools_20170220_arm_012.zpkg\r' $'EncryptedShares_20140603_arm_001.zpkg\r' $'exFAT_1.0.1_arm_001.zpkg\r' $'MuninLite_1.0.4_arm_003.zpkg\r' $'Pulse_0.12.4_arm_04.zpkg\r' $'CalibreCOPS_1.1.3_arm_008.zpkg\r' $'Darkstat_3.0.719_arm_005.zpkg\r' $'PlexMediaServer_20161213_arm_003.zpkg\r' $'Entware-ng_20181002_arm_006.zpkg\r' $'ffp_0.7_arm_006.zpkg\r' $'btsync_1.4.110_arm_007.zpkg\r' $'anyterm_9652_arm_001.zpkg\r' $'MetaRepository_20181001_arm_015.zpkg\r' $'Dropbear_2014.63_arm_002.zpkg\r' $'MidnightCommander_4.6.1_arm_003.zpkg\r' $'Tweaks_20200310_arm_035.zpkg\r' $'RandomTools_20170220_arm_012.zpkg\r' $'EncryptedShares_20140603_arm_001.zpkg\r' $'exFAT_1.0.1_arm_001.zpkg\r' $'MuninLite_1.0.4_arm_003.zpkg\r' $'Pulse_0.12.4_arm_04.zpkg\r' $'CalibreCOPS_1.1.3_arm_008.zpkg\r' $'Darkstat_3.0.719_arm_005.zpkg\r' $'PlexMediaServer_20161213_arm_003.zpkg\r' $'Entware-ng_20181002_arm_006.zpkg\r' $'ffp_0.7_arm_006.zpkg\r' $'btsync_1.4.110_arm_007.zpkg\r' $'anyterm_9652_arm_001.zpkg\r' $'MetaRepository_20181001_arm_015.zpkg\r' $'Dropbear_2014.63_arm_002.zpkg\r' $'MidnightCommander_4.6.1_arm_003.zpkg\r' $'Tweaks_20200310_arm_035.zpkg\r' $'RandomTools_20170220_arm_012.zpkg\r' $'EncryptedShares_20140603_arm_001.zpkg\r' $'exFAT_1.0.1_arm_001.zpkg\r' $'MuninLite_1.0.4_arm_003.zpkg\r' $'Pulse_0.12.4_arm_04.zpkg\r' $'CalibreCOPS_1.1.3_arm_008.zpkg\r' $'Darkstat_3.0.719_arm_005.zpkg\r' $'PlexMediaServer_20161213_arm_003.zpkg\r' $'Entware-ng_20181002_arm_006.zpkg\r'
++ cut -d ' ' -f 3
+ local $'splitfile=anyterm\r'
++ dirname $'anyterm\r'
+ local dir=.
+ '[' '!' -z /i-data/md0/admin/zy-pkgs/MetaRepository/NSA325-v2/4.80/zypkg/./i-data/md0/admin/zy-pkgs/ZYPKGS ']'
+ cat $'/i-data/md0/admin/zy-pkgs/MetaRepository/anyterm\r.ZYPKG'
cat: /i-data/md0/admin/zy-pkgs/MetaRepository/anyterm.ZYPKG: No such file or directory
+ echo
+ '[' '!' -z /i-data/md0/admin/zy-pkgs/MetaRepository/NSA325-v2/4.80/zypkg/./usr/local/zy-pkgs/gui/ZYPKG_LANG_LIST ']'
+ local $'langlist=/i-data/md0/admin/zy-pkgs/MetaRepository/anyterm\r.LANGLIST'
+ '[' -f $'/i-data/md0/admin/zy-pkgs/MetaRepository/anyterm\r.LANGLIST' ']'
++ dirname $'/i-data/md0/admin/zy-pkgs/MetaRepository/anyterm\r'
+ local repo=/i-data/md0/admin/zy-pkgs/MetaRepository
++ basename $'anyterm\r'
+ local $'splitfilename=anyterm\r'
++ cat /i-data/md0/admin/zy-pkgs/MetaRepository.url
cat: /i-data/md0/admin/zy-pkgs/MetaRepository.url: No such file or directory
+ echo $'anyterm\r'
+ '[' '!' -z /i-data/md0/admin/zy-pkgs/MetaRepository/NSA325-v2/4.80/zypkg/./usr/local/zy-pkgs/etc/init.d/ZYPKG_DEPS ']'
+ '[' -f /i-data/md0/admin/zy-pkgs/MetaRepository/usr/local/zy-pkgs/etc/init.d/ZYPKG_DEPS ']'
+ '[' '!' -z ']'
+ read line
++ cut -d ' ' -f 1
++ echo $'BackupPlanner\r' $'DyDNS\r' $'eMule\r' $'gallery\r' $'GoogleDriveClient\r' $'Memopal\r' $'myZyXELcloud-Agent\r' $'NFS\r' $'NZBGet\r' $'ownCloud\r' $'PHP-MySQL-phpMyAdmin\r' $'Polkast\r' $'pyLoad\r' $'SMART\r' $'SqueezeCenter\r' $'SSH\r' $'Syslog\r' $'Tftp\r' $'Transmission\r' $'WordPress\r' $'BackupPlanner\r' $'DyDNS\r' $'eMule\r' $'gallery\r' $'GoogleDriveClient\r' $'Memopal\r' $'myZyXELcloud-Agent\r' $'NFS\r' $'NZBGet\r' $'ownCloud\r' $'PHP-MySQL-phpMyAdmin\r' $'Polkast\r' $'pyLoad\r' $'SMART\r' $'SqueezeCenter\r' $'SSH\r' $'Syslog\r' $'Tftp\r' $'Transmission\r' $'WordPress\r' $'BackupPlanner\r' $'DyDNS\r' $'eMule\r' $'gallery\r' $'GoogleDriveClient\r' $'Memopal\r' $'myZyXELcloud-Agent\r' $'NFS\r' $'NZBGet\r' $'ownCloud\r' $'PHP-MySQL-phpMyAdmin\r' $'Polkast\r' $'pyLoad\r' $'SMART\r' $'SqueezeCenter\r' $'SSH\r' $'Syslog\r' $'Tftp\r' $'Transmission\r' $'WordPress\r' $'1-013\r-9' $'http___zyxel.diskstation.eu_Users_Mijzelf_zypkg-repo_fw4_stock_packages_/BackupPlanner_001_arm_013.zpkg\r' $'DyDNS_001_arm_008.zpkg\r' $'eMule_001_arm_008.zpkg\r' $'gallery_3.0.4_arm_007.zpkg\r' $'GoogleDriveClient_0.4.0_arm_002.zpkg\r' $'Memopal_2.4.4_arm_003.zpkg\r' $'myZyXELcloud-Agent_0.0.15_arm_0015.zpkg\r' $'NFS_1.1.4_arm_005.zpkg\r' $'NZBGet_11.0_arm_004.zpkg\r' $'ownCloud_7.0.3_arm_003.zpkg\r' $'PHP-MySQL-phpMyAdmin_2.0_arm_009.zpkg\r' $'Polkast_001_arm_0119.zpkg\r' $'pyLoad_0.4.9_arm_005.zpkg\r' $'SMART_6.2_arm_007.zpkg\r' $'SqueezeCenter_7.7_arm_006.zpkg\r' $'SSH_6.7_arm_001.zpkg\r' $'Syslog_2.0.10_arm_004.zpkg\r' $'Tftp_0.7_arm_002.zpkg\r' $'Transmission_2.82_arm_003.zpkg\r' $'WordPress_3.6.1_arm_009.zpkg\r' $'BackupPlanner_001_arm_013.zpkg\r' $'DyDNS_001_arm_008.zpkg\r' $'eMule_001_arm_008.zpkg\r' $'gallery_3.0.4_arm_007.zpkg\r' $'GoogleDriveClient_0.4.0_arm_002.zpkg\r' $'Memopal_2.4.4_arm_003.zpkg\r' $'myZyXELcloud-Agent_0.0.15_arm_0015.zpkg\r' $'NFS_1.1.4_arm_005.zpkg\r' $'NZBGet_11.0_arm_004.zpkg\r' $'ownCloud_7.0.3_arm_003.zpkg\r' $'PHP-MySQL-phpMyAdmin_2.0_arm_009.zpkg\r' $'Polkast_001_arm_0119.zpkg\r' $'pyLoad_0.4.9_arm_005.zpkg\r' $'SMART_6.2_arm_007.zpkg\r' $'SqueezeCenter_7.7_arm_006.zpkg\r' $'SSH_6.7_arm_001.zpkg\r' $'Syslog_2.0.10_arm_004.zpkg\r' $'Tftp_0.7_arm_002.zpkg\r' $'Transmission_2.82_arm_003.zpkg\r' $'WordPress_3.6.1_arm_009.zpkg\r' $'BackupPlanner_001_arm_013.zpkg\r' $'DyDNS_001_arm_008.zpkg\r' $'eMule_001_arm_008.zpkg\r' $'gallery_3.0.4_arm_007.zpkg\r' $'GoogleDriveClient_0.4.0_arm_002.zpkg\r' $'Memopal_2.4.4_arm_003.zpkg\r' $'myZyXELcloud-Agent_0.0.15_arm_0015.zpkg\r' $'NFS_1.1.4_arm_005.zpkg\r' $'NZBGet_11.0_arm_004.zpkg\r' $'ownCloud_7.0.3_arm_003.zpkg\r' $'PHP-MySQL-phpMyAdmin_2.0_arm_009.zpkg\r' $'Polkast_001_arm_0119.zpkg\r' $'pyLoad_0.4.9_arm_005.zpkg\r' $'SMART_6.2_arm_007.zpkg\r' $'SqueezeCenter_7.7_arm_006.zpkg\r' $'SSH_6.7_arm_001.zpkg\r' $'Syslog_2.0.10_arm_004.zpkg\r' $'Tftp_0.7_arm_002.zpkg\r' $'Transmission_2.82_arm_003.zpkg\r' $'WordPress_3.6.1_arm_009.zpkg\r'
+ local $'package=BackupPlanner\r'
+ case $package in
+ latestpackage=$'BackupPlanner\r'
++ echo $'BackupPlanner\r' $'DyDNS\r' $'eMule\r' $'gallery\r' $'GoogleDriveClient\r' $'Memopal\r' $'myZyXELcloud-Agent\r' $'NFS\r' $'NZBGet\r' $'ownCloud\r' $'PHP-MySQL-phpMyAdmin\r' $'Polkast\r' $'pyLoad\r' $'SMART\r' $'SqueezeCenter\r' $'SSH\r' $'Syslog\r' $'Tftp\r' $'Transmission\r' $'WordPress\r' $'BackupPlanner\r' $'DyDNS\r' $'eMule\r' $'gallery\r' $'GoogleDriveClient\r' $'Memopal\r' $'myZyXELcloud-Agent\r' $'NFS\r' $'NZBGet\r' $'ownCloud\r' $'PHP-MySQL-phpMyAdmin\r' $'Polkast\r' $'pyLoad\r' $'SMART\r' $'SqueezeCenter\r' $'SSH\r' $'Syslog\r' $'Tftp\r' $'Transmission\r' $'WordPress\r' $'BackupPlanner\r' $'DyDNS\r' $'eMule\r' $'gallery\r' $'GoogleDriveClient\r' $'Memopal\r' $'myZyXELcloud-Agent\r' $'NFS\r' $'NZBGet\r' $'ownCloud\r' $'PHP-MySQL-phpMyAdmin\r' $'Polkast\r' $'pyLoad\r' $'SMART\r' $'SqueezeCenter\r' $'SSH\r' $'Syslog\r' $'Tftp\r' $'Transmission\r' $'WordPress\r' $'1-013\r-9' $'http___zyxel.diskstation.eu_Users_Mijzelf_zypkg-repo_fw4_stock_packages_/BackupPlanner_001_arm_013.zpkg\r' $'DyDNS_001_arm_008.zpkg\r' $'eMule_001_arm_008.zpkg\r' $'gallery_3.0.4_arm_007.zpkg\r' $'GoogleDriveClient_0.4.0_arm_002.zpkg\r' $'Memopal_2.4.4_arm_003.zpkg\r' $'myZyXELcloud-Agent_0.0.15_arm_0015.zpkg\r' $'NFS_1.1.4_arm_005.zpkg\r' $'NZBGet_11.0_arm_004.zpkg\r' $'ownCloud_7.0.3_arm_003.zpkg\r' $'PHP-MySQL-phpMyAdmin_2.0_arm_009.zpkg\r' $'Polkast_001_arm_0119.zpkg\r' $'pyLoad_0.4.9_arm_005.zpkg\r' $'SMART_6.2_arm_007.zpkg\r' $'SqueezeCenter_7.7_arm_006.zpkg\r' $'SSH_6.7_arm_001.zpkg\r' $'Syslog_2.0.10_arm_004.zpkg\r' $'Tftp_0.7_arm_002.zpkg\r' $'Transmission_2.82_arm_003.zpkg\r' $'WordPress_3.6.1_arm_009.zpkg\r' $'BackupPlanner_001_arm_013.zpkg\r' $'DyDNS_001_arm_008.zpkg\r' $'eMule_001_arm_008.zpkg\r' $'gallery_3.0.4_arm_007.zpkg\r' $'GoogleDriveClient_0.4.0_arm_002.zpkg\r' $'Memopal_2.4.4_arm_003.zpkg\r' $'myZyXELcloud-Agent_0.0.15_arm_0015.zpkg\r' $'NFS_1.1.4_arm_005.zpkg\r' $'NZBGet_11.0_arm_004.zpkg\r' $'ownCloud_7.0.3_arm_003.zpkg\r' $'PHP-MySQL-phpMyAdmin_2.0_arm_009.zpkg\r' $'Polkast_001_arm_0119.zpkg\r' $'pyLoad_0.4.9_arm_005.zpkg\r' $'SMART_6.2_arm_007.zpkg\r' $'SqueezeCenter_7.7_arm_006.zpkg\r' $'SSH_6.7_arm_001.zpkg\r' $'Syslog_2.0.10_arm_004.zpkg\r' $'Tftp_0.7_arm_002.zpkg\r' $'Transmission_2.82_arm_003.zpkg\r' $'WordPress_3.6.1_arm_009.zpkg\r' $'BackupPlanner_001_arm_013.zpkg\r' $'DyDNS_001_arm_008.zpkg\r' $'eMule_001_arm_008.zpkg\r' $'gallery_3.0.4_arm_007.zpkg\r' $'GoogleDriveClient_0.4.0_arm_002.zpkg\r' $'Memopal_2.4.4_arm_003.zpkg\r' $'myZyXELcloud-Agent_0.0.15_arm_0015.zpkg\r' $'NFS_1.1.4_arm_005.zpkg\r' $'NZBGet_11.0_arm_004.zpkg\r' $'ownCloud_7.0.3_arm_003.zpkg\r' $'PHP-MySQL-phpMyAdmin_2.0_arm_009.zpkg\r' $'Polkast_001_arm_0119.zpkg\r' $'pyLoad_0.4.9_arm_005.zpkg\r' $'SMART_6.2_arm_007.zpkg\r' $'SqueezeCenter_7.7_arm_006.zpkg\r' $'SSH_6.7_arm_001.zpkg\r' $'Syslog_2.0.10_arm_004.zpkg\r' $'Tftp_0.7_arm_002.zpkg\r' $'Transmission_2.82_arm_003.zpkg\r' $'WordPress_3.6.1_arm_009.zpkg\r'
++ cut -d ' ' -f 3
+ local $'splitfile=eMule\r'
++ dirname $'eMule\r'
+ local dir=.
+ '[' '!' -z /i-data/md0/admin/zy-pkgs/MetaRepository/NSA325-v2/4.80/zypkg/./i-data/md0/admin/zy-pkgs/ZYPKGS ']'
+ cat $'/i-data/md0/admin/zy-pkgs/MetaRepository/eMule\r.ZYPKG'
cat: /i-data/md0/admin/zy-pkgs/MetaRepository/eMule.ZYPKG: No such file or directory
+ echo
+ '[' '!' -z /i-data/md0/admin/zy-pkgs/MetaRepository/NSA325-v2/4.80/zypkg/./usr/local/zy-pkgs/gui/ZYPKG_LANG_LIST ']'
+ local $'langlist=/i-data/md0/admin/zy-pkgs/MetaRepository/eMule\r.LANGLIST'
+ '[' -f $'/i-data/md0/admin/zy-pkgs/MetaRepository/eMule\r.LANGLIST' ']'
++ dirname $'/i-data/md0/admin/zy-pkgs/MetaRepository/eMule\r'
+ local repo=/i-data/md0/admin/zy-pkgs/MetaRepository
++ basename $'eMule\r'
+ local $'splitfilename=eMule\r'
++ cat /i-data/md0/admin/zy-pkgs/MetaRepository.url
cat: /i-data/md0/admin/zy-pkgs/MetaRepository.url: No such file or directory
+ echo $'eMule\r'
+ '[' '!' -z /i-data/md0/admin/zy-pkgs/MetaRepository/NSA325-v2/4.80/zypkg/./usr/local/zy-pkgs/etc/init.d/ZYPKG_DEPS ']'
+ '[' -f /i-data/md0/admin/zy-pkgs/MetaRepository/usr/local/zy-pkgs/etc/init.d/ZYPKG_DEPS ']'
+ '[' '!' -z ']'
+ read line
+ '[' '!' -z /i-data/md0/admin/zy-pkgs/MetaRepository/NSA325-v2/4.80/zypkg/./usr/local/zy-pkgs/etc/init.d/ZYPKG_DEPS ']'
+ echo Choose DEPS...
Choose DEPS...
+ local maxvalue=0
++ cat /tmp/.MetaRepository/tmp/repos
+ for repo in '` cat ${tmpdir}/repos `'
+ '[' '!' -f /i-data/md0/admin/zy-pkgs/MetaRepository/http___zyxel.diskstation.eu_Users_Mijzelf_zypkg-repo_fw4_stock_packages_.depscnt ']'
+ continue
+ for repo in '` cat ${tmpdir}/repos `'
+ '[' '!' -f /i-data/md0/admin/zy-pkgs/MetaRepository/http___zyxel.diskstation.eu_Users_Mijzelf_zypkg-repo_fw4_.depscnt ']'
+ continue
+ for repo in '` cat ${tmpdir}/repos `'
+ '[' '!' -f /i-data/md0/admin/zy-pkgs/MetaRepository/Installed.depscnt ']'
+ continue
+ '[' '!' -z ']'
+ '[' '!' -z ']'
+ echo Create ZYPKG_INFO.tgz
Create ZYPKG_INFO.tgz
+ local dirs=i-data
+ chmod -R 777 /i-data/md0/admin/zy-pkgs/MetaRepository/NSA325-v2/4.80/zypkg//i-data
chmod: changing permissions of `/i-data/md0/admin/zy-pkgs/MetaRepository/NSA325-v2/4.80/zypkg//i-data': Operation not permitted
chmod: changing permissions of `/i-data/md0/admin/zy-pkgs/MetaRepository/NSA325-v2/4.80/zypkg//i-data/md0': Operation not permitted
chmod: changing permissions of `/i-data/md0/admin/zy-pkgs/MetaRepository/NSA325-v2/4.80/zypkg//i-data/md0/admin': Operation not permitted
chmod: changing permissions of `/i-data/md0/admin/zy-pkgs/MetaRepository/NSA325-v2/4.80/zypkg//i-data/md0/admin/zy-pkgs': Operation not permitted
+ '[' -d /i-data/md0/admin/zy-pkgs/MetaRepository/NSA325-v2/4.80/zypkg//usr ']'
+ chmod -R 755 /i-data/md0/admin/zy-pkgs/MetaRepository/NSA325-v2/4.80/zypkg//usr
chmod: changing permissions of `/i-data/md0/admin/zy-pkgs/MetaRepository/NSA325-v2/4.80/zypkg//usr': Operation not permitted
chmod: changing permissions of `/i-data/md0/admin/zy-pkgs/MetaRepository/NSA325-v2/4.80/zypkg//usr/local': Operation not permitted
chmod: changing permissions of `/i-data/md0/admin/zy-pkgs/MetaRepository/NSA325-v2/4.80/zypkg//usr/local/zy-pkgs': Operation not permitted
chmod: changing permissions of `/i-data/md0/admin/zy-pkgs/MetaRepository/NSA325-v2/4.80/zypkg//usr/local/zy-pkgs/gui': Operation not permitted
chmod: changing permissions of `/i-data/md0/admin/zy-pkgs/MetaRepository/NSA325-v2/4.80/zypkg//usr/local/zy-pkgs/etc': Operation not permitted
chmod: changing permissions of `/i-data/md0/admin/zy-pkgs/MetaRepository/NSA325-v2/4.80/zypkg//usr/local/zy-pkgs/etc/init.d': Operation not permitted
+ /tmp/.MetaRepository/bin/tar czf /i-data/md0/admin/zy-pkgs/MetaRepository/NSA325-v2/4.80/zypkg/ZYPKG_INFO.tgz --owner=root --group=root -C /i-data/md0/admin/zy-pkgs/MetaRepository/NSA325-v2/4.80/zypkg/ i-data
+ local target=/i-data/md0/admin/zy-pkgs/MetaRepository/NSA325-v2/4.80/zypkg/ZYPKG_INFO.tgz
+ '[' '!' -f /i-data/md0/admin/zy-pkgs/MetaRepository/NSA325-v2/4.80/zypkg/ZYPKG_INFO.tgz ']'
+ TarHeader
+ echo TarHeader
TarHeader
+ cat
+ Fetch /i-data/md0/admin/zy-pkgs/MetaRepository/NSA325-v2/4.80/zypkg/ZYPKG_INFO.tgz -
+ from=/i-data/md0/admin/zy-pkgs/MetaRepository/NSA325-v2/4.80/zypkg/ZYPKG_INFO.tgz
+ to=-
+ '[' false '!=' true ']'
+ '[' -z '' ']'
++ FindApp curl
++ case $1 in
++ '[' '!' -z '' ']'
++ echo -n 'FindApp curl '
FindApp curl ++ unset app
++ for path in /bin/ /sbin/ /usr/bin/ /usr/sbin/ /usr/local/bin/ /usr/local/sbin/ /opt/bin/ /opt/sbin/ /ffp/bin/ /ffp/sbin/
++ '[' -x /bin/curl ']'
++ for path in /bin/ /sbin/ /usr/bin/ /usr/sbin/ /usr/local/bin/ /usr/local/sbin/ /opt/bin/ /opt/sbin/ /ffp/bin/ /ffp/sbin/
++ '[' -x /sbin/curl ']'
++ for path in /bin/ /sbin/ /usr/bin/ /usr/sbin/ /usr/local/bin/ /usr/local/sbin/ /opt/bin/ /opt/sbin/ /ffp/bin/ /ffp/sbin/
++ '[' -x /usr/bin/curl ']'
++ echo found /usr/bin/curl
found /usr/bin/curl
++ app=/usr/bin/curl
++ break
++ '[' -z /usr/bin/curl ']'
++ case $1 in
++ CURL=/usr/bin/curl
++ echo /usr/bin/curl
+ CURL=/usr/bin/curl
+ '[' -z /usr/bin/curl ']'
+ '[' false = true ']'
+ echo -n 'Fetch /i-data/md0/admin/zy-pkgs/MetaRepository/NSA325-v2/4.80/zypkg/ZYPKG_INFO.tgz' '- '
Fetch /i-data/md0/admin/zy-pkgs/MetaRepository/NSA325-v2/4.80/zypkg/ZYPKG_INFO.tgz - + case ${from} in
+ '[' - = - ']'
+ '[' -f /i-data/md0/admin/zy-pkgs/MetaRepository/NSA325-v2/4.80/zypkg/ZYPKG_INFO.tgz ']'
+ cat /i-data/md0/admin/zy-pkgs/MetaRepository/NSA325-v2/4.80/zypkg/ZYPKG_INFO.tgz
+ echo succeeded
succeeded
+ return 0
+ exit 0
