diff options
author | Jeffrey Zhang | 2020-03-30 17:12:38 +0800 |
---|---|---|
committer | Jeffrey Zhang | 2020-03-30 17:12:38 +0800 |
commit | 2cdf596b88e5b5f8dd7f82839f70200f3495128e (patch) | |
tree | 5cbda864d4632250180ccd89ab344c50259a9469 | |
parent | fa0ff195dbec1f1ab7ef1b9ae55992656107cee8 (diff) | |
download | aur-2cdf596b88e5b5f8dd7f82839f70200f3495128e.tar.gz |
Add post install warning
-rw-r--r-- | .gitignore | 4 | ||||
-rw-r--r-- | PKGBUILD | 3 | ||||
-rw-r--r-- | terminator-git.install | 17 |
3 files changed, 23 insertions, 1 deletions
diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..a3ab6dfcd659 --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +src +terminator +pkg +*.tar.xz @@ -13,6 +13,8 @@ conflicts=('terminator' 'terminator-gtk3-bzr') source=("git+https://github.com/JAugusto42/terminator.git") sha256sums=('SKIP') +install=terminator-git.install + pkgver() { cd "${srcdir}/terminator" printf "%s" "$(git describe --tags|sed 's/-/./g')" @@ -30,4 +32,3 @@ package() { rm -f "${pkgdir}/usr/share/icons/hicolor/icon-theme.cache" } - diff --git a/terminator-git.install b/terminator-git.install new file mode 100644 index 000000000000..8c4b37e8a261 --- /dev/null +++ b/terminator-git.install @@ -0,0 +1,17 @@ +#!/bin/bash + +warning_exist_config(){ + cat <<EOF +terminator>=2 use new json config file. if you already have an old +terminator<2 config in "~/.config/terminator/config", you should remove it +manually. +EOF +} + +post_install(){ + warning_exist_config +} + +post_upgrade(){ + warning_exist_config +} |