139 |
|
|
140 |
case ${METHOD} in |
case ${METHOD} in |
141 |
download) |
download) |
142 |
|
have_root_privileges || die "You must be root to run this operation." |
143 |
|
|
144 |
# first of all get the right pkg which going to be installed |
# first of all get the right pkg which going to be installed |
145 |
PCAT="$(pname2pcat ${MAGENAME})" |
PCAT="$(pname2pcat ${MAGENAME})" |
146 |
|
|
172 |
;; |
;; |
173 |
|
|
174 |
srcdownload) |
srcdownload) |
175 |
|
have_root_privileges || die "You must be root to run this operation." |
176 |
|
|
177 |
# first of all get the right pkg which going to be installed |
# first of all get the right pkg which going to be installed |
178 |
PCAT="$(pname2pcat ${MAGENAME})" |
PCAT="$(pname2pcat ${MAGENAME})" |
179 |
|
|