A CBS legal executive who said she had no sympathy for the victims killed in Las Vegas because they were “country music fans” — and therefore likely Republican — has been fired.

Hayley Geftman-Gold posted the ugly comments on social media about Sunday’s massacre in a conversation over gun control.

“If they wouldn’t do anything when children were murdered I have no hope that Repugs will ever do the right thing,” she wrote on Facebook. “I’m actually not even sympathetic bc country music fans often are Republican gun toters.”

CBS promptly canned her.

“This individual, who was with us for approximately one year, violated the standards of our company and is no longer an employee of CBS,” the network told The Post in a statement.

“Her views as expressed on social media are deeply unacceptable to all of us at CBS. Our hearts go out to the victims in Las Vegas and their families.”