[BusyBox] dpkg prerm fix

Stefan Soucek ssoucek at coactive.com
Wed Oct 3 20:50:33 UTC 2001


Hi,

Here is a patch to fix a small typo that prevents the execution of the prerm
script in a package:

--- dpkg.c
+++ dpkg.c
@@ -1183,7 +1184,7 @@ void remove_package(const unsigned int p
        printf("Removing %s ...\n", package_name);
 
        /* run prerm script */
-       return_value = run_package_script(package_name, "prem");
+       return_value = run_package_script(package_name, "prerm");
        if (return_value == -1) {
                error_msg_and_die("script failed, prerm failure");
        }

-Stefan

--
Stefan Soucek, ssoucek at coactive.com
Coactive Networks, 28 Liberty Ship Way, Sausalito, CA 94965
Ph: (415) 289 7840, Fax: (415) 289 1320





More information about the busybox mailing list