X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=scripts%2Fcsv-import-from-shell.sh;h=c2b791be95ef8667a8b5cb67550cf244bad943b5;hb=cde799cae99cdae17badecdf3edc582084b37400;hp=c0e88904a4e2bbf8e2ae02e07c281ec96736943e;hpb=dfb76ebf04df9aed8ba63d7b51bc558d2928030e;p=kivitendo-erp.git diff --git a/scripts/csv-import-from-shell.sh b/scripts/csv-import-from-shell.sh index c0e88904a..c2b791be9 100644 --- a/scripts/csv-import-from-shell.sh +++ b/scripts/csv-import-from-shell.sh @@ -14,7 +14,7 @@ # ---- Logindaten und URL anpassen: ---- login=MyLxOfficeUserName password=MySecretPassword -url='https://localhost/lx-office-erp/controller.pl' +url='https://localhost/kivitendo-erp/controller.pl' function fail { echo "$@" @@ -107,8 +107,8 @@ function do_curl { -F 'settings.sellprice_adjustment_type=percent' \ -F 'settings.sellprice_places=2' \ -F 'settings.shoparticle_if_missing=0' \ - -F "login=${login}" \ - -F "password=${password}" \ + -F "{AUTH}login=${login}" \ + -F "{AUTH}password=${password}" \ -F "file=@${file}" \ ${url} }