glibc/alt/glibc_fix_nsswitch

11 lines
186 B
Bash

#!/bin/sh
f=/etc/nsswitch.conf
if [ ! -f "$f" ]; then
if [ -f "$f".rpmsave ]; then
/bin/cp -pf "$f".rpmsave "$f"
elif [ -f "$f".rpmnew ]; then
/bin/cp -pf "$f".rpmnew "$f"
fi
fi