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