gsub("%{_unitdir}", "%{systemdunitdir}")
gsub(systemdunitdir, "%{systemdunitdir}")
+ gsub("%{_userunitdir}", "%{systemduserunitdir}")
+ gsub(systemduserunitdir, "%{systemduserunitdir}")
gsub(systemdtmpfilesdir, "%{systemdtmpfilesdir}")
gsub("%{_datadir}/applications", "%{_desktopdir}")
}
# update this version dep each time some new macro export is added
- v = 1.51
+ v = 1.52
if (!ENVIRON["ADAPTER_REVISION"] || ENVIRON["ADAPTER_REVISION"] < v) {
printf("adapter shell script is outdated: Need %s, got %s. Please update it.\n", v, ENVIRON["ADAPTER_REVISION"]) > "/dev/stderr"
do_not_touch_anything = 1
tmpdir = ENVIRON["tmpdir"]
systemdunitdir = ENVIRON["systemdunitdir"]
+ systemduserunitdir = ENVIRON["systemduserunitdir"]
systemdtmpfilesdir = ENVIRON["systemdtmpfilesdir"]
}
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
-REVISION=1.51
+REVISION=1.52
VERSION="v0.35/$REVISION"
VERSIONSTRING="\
Adapter adapts .spec files for PLD Linux.
tmpdir
systemdunitdir
+ systemduserunitdir
systemdtmpfilesdir
"
eval_expr=""