This commit is contained in:
Valeria Fadeeva 2023-10-30 13:08:47 +05:00
parent 1dd28ff7bd
commit 4765d30d60
1 changed files with 5 additions and 5 deletions

View File

@ -44,11 +44,11 @@ Os_release() {
# add missing ID_LIKE=
sed -i $file -e "/^ID=/a \ID_LIKE=${quote}arch${quote}"
fi
if [ -r $melawyfile ] ; then
# fix BUILD_ID for Melawy Linux
local buildid="$(grep "^VERSION=" $melawyfile | awk '{print $1}' | cut -d '=' -f 2)"
sed -i $file -e "s|^BUILD_ID=.*|BUILD_ID=${quote}$buildid${quote}|"
fi
# if [ -r $melawyfile ] ; then
# # fix BUILD_ID for Melawy Linux
# local buildid="$(grep "^VERSION=" $melawyfile | awk '{print $1}' | cut -d '=' -f 2)"
# sed -i $file -e "s|^BUILD_ID=.*|BUILD_ID=${quote}$buildid${quote}|"
# fi
}
Issues() {