Ignore:
Timestamp:
Oct 15, 2022, 5:26:32 PM (4 years ago)
Author:
obi
Message:

fix ipkg preinst prerm postrm scripts

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ipk/source.sh4/network_ipsec/CONTROL/postrm

    r45958 r46250  
    11#!/bin/sh
    22
    3 if [ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ];then
     3if [ ! -e /etc/.opkg ] && ([ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ]);then
    44        sed 's/ipsec=.*//g' -i /mnt/config/start-config
    55        opkg remove strongswan --force-removal-of-dependent-packages
Note: See TracChangeset for help on using the changeset viewer.