From 7791d1532f4100274b8bbb14ef013bb0c969eed6f248c20eece8ec8573b10645 Mon Sep 17 00:00:00 2001 From: Michal Marek Date: Tue, 4 Oct 2011 05:02:05 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/Kernel:HEAD/kernel-source?expand=0&rev=7130 --- source-post.sh | 13 ------------- 1 file changed, 13 deletions(-) delete mode 100644 source-post.sh diff --git a/source-post.sh b/source-post.sh deleted file mode 100644 index ea9c15e2..00000000 --- a/source-post.sh +++ /dev/null @@ -1,13 +0,0 @@ -relink() { - if [ -h "$2" ]; then - local old=$(readlink "$2") - [ "$old" = "$1" ] && return 0 - echo "Changing symlink $2 from $old to $1" - elif [ -e "$2" ]; then - echo "Replacing file $2 with symlink to $1" - fi - rm -f "$2" \ - && ln -s "$1" "$2" -} - -relink linux-@KERNELRELEASE@@SRCVARIANT@ /usr/src/linux@SRCVARIANT@