diff options
author | Carlo Landmeter <clandmeter@gmail.com> | 2015-03-06 08:43:42 +0000 |
---|---|---|
committer | Carlo Landmeter <clandmeter@gmail.com> | 2015-03-06 08:43:42 +0000 |
commit | 5be3b003e997899d9950b9e64f6fd3d6db8c0856 (patch) | |
tree | 0df031cd6620b5add9edcdb1591d4325bd6d6182 /apkcontent2sqlite.sh | |
parent | c0464fc8b29ca38374997159e91126c503fc1a22 (diff) | |
download | repo-scripts-5be3b003e997899d9950b9e64f6fd3d6db8c0856.tar.bz2 repo-scripts-5be3b003e997899d9950b9e64f6fd3d6db8c0856.tar.xz |
sqlite varchar is always text
Diffstat (limited to 'apkcontent2sqlite.sh')
-rwxr-xr-x | apkcontent2sqlite.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apkcontent2sqlite.sh b/apkcontent2sqlite.sh index b1a53de..f7a381c 100755 --- a/apkcontent2sqlite.sh +++ b/apkcontent2sqlite.sh @@ -32,7 +32,7 @@ create_filelist() { rm -f $output $database -printf "CREATE TABLE filelist(file varchar(255), path text, pkgname varchar(255), repo varchar(8), arch varchar(8));" | sqlite3 $database +printf "CREATE TABLE filelist(file text, path text, pkgname text, repo text, arch text);" | sqlite3 $database for repo in $repos; do for arch in $archs; do |