summaryrefslogtreecommitdiffstats
path: root/base/pkg-get-awk/post-install
diff options
context:
space:
mode:
authorguy <guy@rougemin.(none)>2011-03-06 21:57:22 +0100
committerguy <guy@rougemin.(none)>2011-03-06 21:57:22 +0100
commit8a24b1b96329f7a7052e6d9f4bd77ba73858fbf6 (patch)
tree521ddb88b5fb41d2edc3a9fd28b76d2c1a812b6b /base/pkg-get-awk/post-install
parent9ca85db2c2e7d8f91f21c6d93443e2ed441f3ea6 (diff)
downloadnutyx-pakxe-8a24b1b96329f7a7052e6d9f4bd77ba73858fbf6.tar.gz
nutyx-pakxe-8a24b1b96329f7a7052e6d9f4bd77ba73858fbf6.tar.bz2
nutyx-pakxe-8a24b1b96329f7a7052e6d9f4bd77ba73858fbf6.tar.xz
nutyx-pakxe-8a24b1b96329f7a7052e6d9f4bd77ba73858fbf6.zip
pkg-get-awk, corrections bugs
Diffstat (limited to 'base/pkg-get-awk/post-install')
-rwxr-xr-xbase/pkg-get-awk/post-install30
1 files changed, 0 insertions, 30 deletions
diff --git a/base/pkg-get-awk/post-install b/base/pkg-get-awk/post-install
deleted file mode 100755
index 249cbf8fc..000000000
--- a/base/pkg-get-awk/post-install
+++ /dev/null
@@ -1,30 +0,0 @@
-#!/bin/sh
-
-pkf=/usr/bin/pkg-get
-syn=/usr/bin/syn
-if [ -L $pkf ]; then
- rm $pkf
-else
- file $pkf | grep perl >/dev/null
- if [ $? -eq 0 ]; then
- mv $pkf $pkf.pl
- fi
-fi
-if [ -L $syn ]; then
- rm $syn
-else
- file $syn | grep bash >/dev/null
- if [ $? -eq 0 ]; then
- mv $syn $syn.old
- 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
-ln -s /usr/bin/syn.awk $syn
-if [ ! -f /etc/pkg-get.conf ]; then
- cp -p /etc/pkg-get-awk.conf /etc/pkg-get.conf
-fi
-