pass .confirm_shortcut_change in post install

This commit is contained in:
vincent 2020-10-06 19:34:20 +02:00
parent b6e9a80709
commit a223b45c9c
2 changed files with 3 additions and 3 deletions

View File

@ -36,6 +36,5 @@ package() {
cd "${srcdir}/${_dir}"
make DESTDIR="${pkgdir}/" install
install -Dm755 scripts/configure.sh "${pkgdir}/usr/share/gnome-shell/extensions/pop-shell@system76.com/scripts/configure.sh"
touch "${pkgdir}/usr/share/gnome-shell/extensions/pop-shell@system76.com/scripts/.confirm_shortcut_change"
}

View File

@ -1,7 +1,8 @@
post_install() {
echo "POP-shell configuration"
cd /usr/share/gnome-shell/extensions/pop-shell@system76.com/scripts
./configure.sh
cd $(mktemp -d)
touch .confirm_shortcut_change
/usr/share/gnome-shell/extensions/pop-shell@system76.com/scripts/configure.sh
}
post_upgrade() {