summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD2
-rw-r--r--gnome-shell-extension.install28
3 files changed, 9 insertions, 25 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 13f59379afe4..8e214fddd88e 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,8 +1,8 @@
# Generated by mksrcinfo v8
-# Thu Apr 27 07:18:27 UTC 2017
+# Sat Jun 24 01:56:33 UTC 2017
pkgbase = gnome-shell-extension-persian-calendar-git
pkgdesc = Persian calendar for Gnome Shell.
- pkgver = r126.c5d1618
+ pkgver = r132.4629375
pkgrel = 1
url = https://github.com/omid/Persian-Calendar-for-Gnome-Shell
install = gnome-shell-extension.install
diff --git a/PKGBUILD b/PKGBUILD
index fa120284783a..f276be268630 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
# Co-Maintainer: Mohammadreza Abdollahzadeh <morealaz at gmail dot com>
pkgname=gnome-shell-extension-persian-calendar-git
-pkgver=r126.c5d1618
+pkgver=r132.4629375
pkgrel=1
pkgdesc="Persian calendar for Gnome Shell."
arch=(any)
diff --git a/gnome-shell-extension.install b/gnome-shell-extension.install
index 071e836c8cfa..484bc1b03f77 100644
--- a/gnome-shell-extension.install
+++ b/gnome-shell-extension.install
@@ -1,29 +1,13 @@
post_install() {
- instructions_install
+ echo "==> ****************************************************"
+ echo "==> Don't forget to Restart GNOME Shell ([Alt]+[F2], r)."
+ echo "==> ****************************************************"
}
post_upgrade() {
- instructions_upgrade
+ post_install
}
-instructions_install() {
- # list enabled extensions
- EXTENSION_LIST=$(gsettings get org.gnome.shell enabled-extensions | sed 's/^.\(.*\).$/\1/')
-
- # check if extension is already enabled
- EXTENSION_ENABLED=$(echo ${EXTENSION_LIST} | grep 'PersianCalendar@oxygenws.com')
-
- if [ "$EXTENSION_ENABLED" = "" ]
- then
- # enable extension
- gsettings set org.gnome.shell enabled-extensions "[${EXTENSION_LIST},'${EXTENSION_UUID}']"
- fi
-
- echo "*** Restart GNOME Shell ([Alt]+[F2], r)."
- echo "*** For more informations, see https://github.com/omid/Persian-Calendar-for-Gnome-Shell."
-}
-
-instructions_upgrade() {
- echo "*** Restart GNOME Shell ([Alt]+[F2], r)."
- echo "*** For more informations, see https://github.com/omid/Persian-Calendar-for-Gnome-Shell."
+post_remove() {
+ post_install
}