generator: Drop $SYSTEMD_SCOPE in favor of $INSTANCE 04/298404/1
authorKarol Lewandowski <k.lewandowsk@samsung.com>
Wed, 6 Sep 2023 09:42:45 +0000 (11:42 +0200)
committerKarol Lewandowski <k.lewandowsk@samsung.com>
Wed, 6 Sep 2023 10:04:33 +0000 (12:04 +0200)
$SYSTEMD_SCOPE is not set when running the script manually.

Change-Id: Ia754a81ea916b38030d474f00dbc7a39969774db

packaging/isu.spec
src/systemd_generator/isu-generator

index 77f069c8430e137282ece979e2ce669f2d70f592..49341531cdb1e9899f8c4c2f921e8ac11d287823 100644 (file)
@@ -1,6 +1,6 @@
 Summary: Individual Service Upgrade support
 Name:    isu
-Version: 8.0.3
+Version: 8.0.4
 Release: 1
 Source0: %{name}-%{version}.tar.gz
 License: MIT
index 24e7455a306dafbc8acff9084e62b968b61c5e96..c930c2a14013e5576b6f36c3b3221648f2c7ad84 100755 (executable)
@@ -153,7 +153,7 @@ isu_prepare()
        fi
 
        if ! compgen -G "${isu_pkg_dir}/${ISU_SERVICES_DIR}/*.service"; then
-               echo "There are no $SYSTEMD_SCOPE services in $isu_pkg_dir"
+               echo "There are no $INSTANCE services in $isu_pkg_dir"
                return 0
        fi