LINUX.ORG.RU
решено ФорумAdmin

Patch не находит существующий файл

 


0

2

Накладываю Пакет обновления №1 на SalesPlatform Vtiger CRM 6.5.0-201611

root@vtigercrm:/var/www/vtigercrm2# patch --dry-run -p 1 < salesplatform-vtiger-sp-650201611-01.patch
patching file config.template.php
patching file data/CRMEntity.php
patching file languages/en_us/EmailTemplates.php
patching file languages/en_us/PBXManager.php
patching file languages/en_us/ProjectTask.php
patching file languages/en_us/RecycleBin.php
patching file languages/en_us/SMSNotifier.php
patching file languages/en_us/SPPDFTemplates.php
patching file languages/en_us/SPSocialConnector.php
patching file languages/en_us/Vtiger.php
patching file languages/ru_ru/Faq.php
patching file languages/ru_ru/HelpDesk.php
patching file languages/ru_ru/Home.php
patching file languages/ru_ru/Settings/ExtensionStore.php
patching file languages/ru_ru/Users.php
patching file languages/ru_ru/Vtiger.php
patching file layouts/vlayout/modules/HelpDesk/SummaryViewWidgets.tpl
patching file layouts/vlayout/modules/Import/Import_Finish_Buttons.tpl
patching file layouts/vlayout/modules/Potentials/SummaryViewWidgets.tpl
patching file layouts/vlayout/modules/Potentials/dashboards/TopPotentialsContents.tpl
patching file layouts/vlayout/modules/Project/SummaryViewWidgets.tpl
patching file layouts/vlayout/modules/Settings/LayoutEditor/Index.tpl
patching file layouts/vlayout/modules/Users/resources/Edit.js
patching file layouts/vlayout/modules/Vtiger/SummaryViewWidgets.tpl
patching file libraries/csrf-magic/csrf-magic.php
patching file modules/CustomView/PopulateCustomView.php
patching file modules/CustomView/actions/Approve.php
patching file modules/CustomView/actions/Deny.php
patching file modules/Install/models/Utils.php
patching file modules/Invoice/InvoiceHandler.php
patching file modules/Migration/schema/650-201611_to_650-201701.php
patching file modules/SMSNotifier/models/Record.php
patching file modules/Settings/Vtiger/actions/CompanyDetailsSave.php
patching file modules/Users/Users.php
patching file modules/Users/actions/SaveAjax.php
patching file modules/Users/models/Record.php
patching file pkg/vtiger/translations/Russian/modules/Faq.php
patching file pkg/vtiger/translations/Russian/modules/HelpDesk.php
patching file pkg/vtiger/translations/Russian/modules/Home.php
patching file soap/customerportal.php
can't find file to patch at input line 828
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -r 3b96a8386060 -r e6c03eaed449 spServicePackVersion.txt
|--- a/spServicePackVersion.txt	Fri Nov 18 11:45:08 2016 +0400
|+++ b/spServicePackVersion.txt	Tue Dec 20 18:49:47 2016 +0300
--------------------------
File to patch: ^C
Но файл существует
root@vtigercrm:/var/www/vtigercrm2# ls -l soap/customerportal.php
-rwxrwxr-x 1 www-data www-data 160237 Янв 29 14:03 soap/customerportal.php
Не возъму в толк, в чем дело?

★★★★★

Ответ на: комментарий от Deleted

так он его и пачтит, а не существует spServicePackVersion.txt

Спасибо, глянул на patch. Создал файл, внес в него данные

root@vtigercrm:/var/www/vtigercrm2# cat spServicePackVersion.txt
6.5.0-201611
Все ок. Отпишу разработчикам

petav ★★★★★
() автор топика
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.