Release 1.1.2: предотвратить сбой установки пакета, когда запуск службы postinst возвращает ненулевой код

This commit is contained in:
Dushnilin
2026-07-14 10:04:43 +03:00
parent 162915a94c
commit 7a8e891a34
2 changed files with 2 additions and 4 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "fe-app-tachyon",
"version": "1.1.1",
"version": "1.1.2",
"license": "MIT",
"type": "module",
"scripts": {
+1 -3
View File
@@ -136,9 +136,7 @@ function postinst_restore() {
if (env("IPKG_INSTROOT", "") != "" || !path_exists(PACKAGE_UPGRADE_STATE))
return true;
if (!command_success_from_args([ INIT_PATH, "start" ]))
return false;
command_success_from_args([ INIT_PATH, "start" ]);
unlink_if_exists(PACKAGE_UPGRADE_STATE);
return true;
}