blob: 63e4e41c8f2dae39a853d2741f390d04e636fcc3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#!/bin/sh
pkf=/usr/bin/pkg-get
if [ -L $pkf ]; then
rm $pkf
else
file $pkf | grep perl >/dev/null
if [ $? -eq 0 ]; then
mv $pkf $pkf.pl
fi
fi
if [ -f $pkf ]; then
echo "pkg-get-awk_post_install: ERREUR, le fichier $pkf existe déjà !!!"
exit 1
fi
ln -s /usr/bin/pkg-get.awk $pkf
if [ ! -f /etc/pkg-get.conf ]; then
cp -p /etc/pkg-get-awk.conf /etc/pkg-get.conf
fi
|