change all dependencies to Debian packages
authorDobrica Pavlinusic <dpavlin@rot13.org>
Thu, 9 Aug 2012 18:41:48 +0000 (20:41 +0200)
committerDobrica Pavlinusic <dpavlin@rot13.org>
Thu, 9 Aug 2012 18:41:48 +0000 (20:41 +0200)
bin/debian-install.sh
data/zahtjev-knjige.sql [deleted file]
lib/MojoFacets/Data.pm

index 98ec6bd..5257f39 100755 (executable)
@@ -1,3 +1,3 @@
 #!/bin/sh -x
 
-sudo apt-get install libhtml-tableextract-perl libjson-perl libmodule-install-perl libstatistics-descriptive-perl libmodule-install-perl libtext-unaccent-pureperl-perl
+sudo apt-get install libhtml-tableextract-perl libjson-perl libmodule-install-perl libstatistics-descriptive-perl libmodule-install-perl libtext-unaccent-perl libmojolicious-perl
diff --git a/data/zahtjev-knjige.sql b/data/zahtjev-knjige.sql
deleted file mode 100644 (file)
index 59121fd..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
--- dbi:Gofer:transport=stream;url=ssh:mjesec.ffzg.hr;dsn=DBI:Pg:dbname=wopi_zahtjevknjige
-
-select *,date(unesen) from zahtjevknjige ;
index eb36419..f685aa0 100644 (file)
@@ -13,7 +13,7 @@ use File::Find;
 use Storable;
 use Time::HiRes qw(time);
 use File::Path qw(mkpath);
-use Text::Unaccent::PurePerl;
+use Text::Unaccent;
 use Digest::MD5;
 use Statistics::Descriptive;
 
@@ -364,7 +364,7 @@ sub _permanent_path {
 
 sub __unac {
        my $n = shift;
-       $n = unac_string($n);
+       $n = unac_string('utf-8',$n);
        $n =~ s/\W+/_/g;
        return $n;
 }