Commit 97f1062a authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm play r7-office-organizer*: fix removing on ALT (fix package name)

parent f86ded58
...@@ -4,6 +4,9 @@ ...@@ -4,6 +4,9 @@
myoffice-* myoffice-*
r7-office r7-office
r7-office-organizer r7-office-organizer
r7-office-organizer_pro
# ALT hack
r7organizer
lsb-cprocsp-* lsb-cprocsp-*
cprocsp-* cprocsp-*
# vendor: SAFIB # vendor: SAFIB
......
...@@ -6,6 +6,13 @@ VERSION="$2" ...@@ -6,6 +6,13 @@ VERSION="$2"
DESCRIPTION="R7 Office Organizer Pro for Linux from the official site" DESCRIPTION="R7 Office Organizer Pro for Linux from the official site"
URL="https://r7-office.ru/downloadorganizer" URL="https://r7-office.ru/downloadorganizer"
# fixme: global epm is used
case $(epm print info -e) in
ALTLinux/*)
PKGNAME="r7organizer"
;;
esac
. $(dirname $0)/common.sh . $(dirname $0)/common.sh
# hack with release part # hack with release part
...@@ -28,6 +35,7 @@ case $(epm print info -e) in ...@@ -28,6 +35,7 @@ case $(epm print info -e) in
;; ;;
ALTLinux/*) ALTLinux/*)
mask="alt/r7organizer_pro-${VERSION}_altlinux.x86_64.rpm" mask="alt/r7organizer_pro-${VERSION}_altlinux.x86_64.rpm"
#override_pkgname "r7organizer"
;; ;;
esac esac
......
...@@ -6,6 +6,13 @@ VERSION="$2" ...@@ -6,6 +6,13 @@ VERSION="$2"
DESCRIPTION="R7 Office Organizer for Linux from the official site" DESCRIPTION="R7 Office Organizer for Linux from the official site"
URL="https://r7-office.ru/downloadorganizer" URL="https://r7-office.ru/downloadorganizer"
# fixme: global epm is used
case $(epm print info -e) in
ALTLinux/*)
PKGNAME="r7organizer"
;;
esac
. $(dirname $0)/common.sh . $(dirname $0)/common.sh
# TODO: add repack with conflicts to r7-office-organizer, r7-organizer-pro # TODO: add repack with conflicts to r7-office-organizer, r7-organizer-pro
...@@ -33,6 +40,7 @@ case $(epm print info -e) in ...@@ -33,6 +40,7 @@ case $(epm print info -e) in
# ;; # ;;
ALTLinux/*) ALTLinux/*)
mask="alt/r7organizer-${VERSION}_altlinux.x86_64.rpm" mask="alt/r7organizer-${VERSION}_altlinux.x86_64.rpm"
#override_pkgname "r7organizer"
;; ;;
esac esac
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment