diff options
author | Cem Keylan <cem@ckyln.com> | 2021-02-09 17:03:01 +0300 |
---|---|---|
committer | Cem Keylan <cem@ckyln.com> | 2021-02-09 17:03:01 +0300 |
commit | fe7df1b860bd5cb9de086f0abe17d7774f4b6df0 (patch) | |
tree | ceea2dc398b3592bd0efc75baf4844766ad92dd7 /core/kiss/post-install | |
parent | 4ffd98335e6e3004f497dc2b6dd151605f9770f2 (diff) | |
download | repository-fe7df1b860bd5cb9de086f0abe17d7774f4b6df0.tar.gz |
kiss: it goodbye
Diffstat (limited to 'core/kiss/post-install')
-rwxr-xr-x | core/kiss/post-install | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/core/kiss/post-install b/core/kiss/post-install deleted file mode 100755 index 93a484a1..00000000 --- a/core/kiss/post-install +++ /dev/null @@ -1,21 +0,0 @@ -#!/bin/sh -e - -export CPT_ROOT=$KISS_ROOT -kiss b cpt && kiss i cpt || exit 1 - -# Make sure we don't have /var/db/cpt already -if [ -d "$KISS_ROOT/var/db/cpt" ]; then - out "It seems like you already have /var/db/cpt, it might be dangerous to continue." \ - "Proceed? [Ctrl+C to cancel]" - read -r _ - mv "$KISS_ROOT/var/db/kiss/"* "$KISS_ROOT/var/db/cpt" -else - mv "$KISS_ROOT/var/db/kiss" "$KISS_ROOT/var/db/cpt" -fi - -set +f -sed -i 's|^/var/db/kiss/|/var/db/cpt/|' /var/db/cpt/installed/*/manifest - -CPT_PATH=$(echo "$KISS_PATH" | sed 's|/var/db/kiss/|/var/db/cpt/|g') -export CPT_PATH -cpt-remove kiss |