2015-07-13 23:25:44 +03:00
|
|
|
set(foo_preinst "^echo default_preinst$")
|
2016-06-19 23:19:56 +03:00
|
|
|
# NOTE: optional dot at the end of permissions regex is for SELinux enabled systems
|
|
|
|
set(foo_preinst_permissions_regex "-rwxr-xr-x\.? .*")
|
2015-07-13 23:25:44 +03:00
|
|
|
set(foo_prerm "^echo default_prerm$")
|
2016-06-19 23:19:56 +03:00
|
|
|
set(foo_prerm_permissions_regex "-rwxr-xr-x\.? .*")
|
2015-07-13 23:25:44 +03:00
|
|
|
verifyDebControl("${FOUND_FILE_1}" "foo" "preinst;prerm")
|
|
|
|
|
|
|
|
set(bar_preinst "^echo bar_preinst$")
|
2016-06-19 23:19:56 +03:00
|
|
|
set(bar_prerm_permissions_regex "-rwx------\.? .*")
|
2015-07-13 23:25:44 +03:00
|
|
|
set(bar_prerm "^echo bar_prerm$")
|
2016-06-19 23:19:56 +03:00
|
|
|
set(bar_prerm_permissions_regex "-rwx------\.? .*")
|
2015-07-13 23:25:44 +03:00
|
|
|
verifyDebControl("${FOUND_FILE_2}" "bar" "preinst;prerm")
|
|
|
|
|
|
|
|
set(bas_preinst "^echo default_preinst$")
|
2016-06-19 23:19:56 +03:00
|
|
|
set(bas_prerm_permissions_regex "-rwxr-xr-x\.? .*")
|
2015-07-13 23:25:44 +03:00
|
|
|
set(bas_prerm "^echo default_prerm$")
|
2016-06-19 23:19:56 +03:00
|
|
|
set(bas_prerm_permissions_regex "-rwxr-xr-x\.? .*")
|
2015-07-13 23:25:44 +03:00
|
|
|
verifyDebControl("${FOUND_FILE_3}" "bas" "preinst;prerm")
|