diff options
Diffstat (limited to 'meta/recipes-devtools/dpkg/run-postinsts/run-postinsts')
-rwxr-xr-x | meta/recipes-devtools/dpkg/run-postinsts/run-postinsts | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/meta/recipes-devtools/dpkg/run-postinsts/run-postinsts b/meta/recipes-devtools/dpkg/run-postinsts/run-postinsts deleted file mode 100755 index 5f6442cbe3..0000000000 --- a/meta/recipes-devtools/dpkg/run-postinsts/run-postinsts +++ /dev/null @@ -1,36 +0,0 @@ -#!/bin/sh -# -# Copyright 2007 Openedhand Ltd. -# -# Author: Richard Purdie <rpurdie@openedhand.com> -# - -PKGSYSTEM=/var/lib/dpkg - -if [ ! -e $PKGSYSTEM/status ]; then - if [ -e /var/lib/opkg/status ]; then - PKGSYSTEM=/var/lib/opkg - else - echo "No package system found" - exit 1 - fi -fi - -STAMP=$PKGSYSTEM/postinsts-done -STATFILE=$PKGSYSTEM/status -STATFILE2=$PKGSYSTEM/status2 - -if [ -e $STAMP ]; then - exit 0 -fi - -awk -f /usr/share/run-postinsts/run-postinsts.awk $STATFILE > $STATFILE2 -if [ $? = 0 ]; then - mv $STATFILE2 $STATFILE - touch $STAMP - exit 0 -else - rm -f $STATFILE2 - rm -f $STAMP - exit 1 -fi |