Fix condition for checking OS codename and branch (#452)

This commit is contained in:
frytimo
2025-11-25 10:45:40 -04:00
committed by GitHub
parent bc30e8c6c9
commit 7d41f37a18

View File

@@ -91,7 +91,7 @@ fi
cd /usr/src
#check for master
if [ ."$os_codename" != ."trixie" ] || [ ."$switch_branch" = ."master" ]; then
if [ ."$os_codename" = ."trixie" ] || [ ."$switch_branch" = ."master" ]; then
#master branch
echo "Using version master"
rm -r /usr/src/freeswitch