Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
eepm
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
eepm
Commits
f70d7ec3
Commit
f70d7ec3
authored
Mar 21, 2013
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
replace "Do not known command" with "Have no suitable command"
parent
36b66a11
Hide whitespace changes
Inline
Side-by-side
Showing
36 changed files
with
47 additions
and
47 deletions
+47
-47
epm-addrepo
bin/epm-addrepo
+1
-1
epm-autoremove
bin/epm-autoremove
+1
-1
epm-changelog
bin/epm-changelog
+3
-3
epm-check
bin/epm-check
+1
-1
epm-checkpkg
bin/epm-checkpkg
+1
-1
epm-clean
bin/epm-clean
+1
-1
epm-filelist
bin/epm-filelist
+2
-2
epm-info
bin/epm-info
+1
-1
epm-install
bin/epm-install
+3
-3
epm-kernel_update
bin/epm-kernel_update
+1
-1
epm-packages
bin/epm-packages
+1
-1
epm-provides
bin/epm-provides
+2
-2
epm-query_file
bin/epm-query_file
+2
-2
epm-release-upgrade
bin/epm-release-upgrade
+1
-1
epm-remove
bin/epm-remove
+2
-2
epm-removerepo
bin/epm-removerepo
+1
-1
epm-repolist
bin/epm-repolist
+1
-1
epm-requires
bin/epm-requires
+2
-2
epm-search
bin/epm-search
+1
-1
epm-search_file
bin/epm-search_file
+1
-1
epm-sh-functions
bin/epm-sh-functions
+1
-1
epm-simulate
bin/epm-simulate
+1
-1
epm-update
bin/epm-update
+1
-1
epm-upgrade
bin/epm-upgrade
+1
-1
epm-whatdepends
bin/epm-whatdepends
+1
-1
serv
bin/serv
+1
-1
serv-common
bin/serv-common
+1
-1
serv-disable
bin/serv-disable
+1
-1
serv-enable
bin/serv-enable
+1
-1
serv-list_all
bin/serv-list_all
+1
-1
serv-list_startup
bin/serv-list_startup
+1
-1
serv-start
bin/serv-start
+1
-1
serv-status
bin/serv-status
+3
-3
serv-stop
bin/serv-stop
+1
-1
serv-try_restart
bin/serv-try_restart
+1
-1
serv-usage
bin/serv-usage
+1
-1
No files found.
bin/epm-addrepo
View file @
f70d7ec3
...
...
@@ -50,7 +50,7 @@ case $PMTYPE in
echo
"You need manually add repo to /etc/slackpkg/mirrors"
;;
*
)
fatal
"
Do not known
command for
$PMTYPE
"
fatal
"
Have no suitable
command for
$PMTYPE
"
;;
esac
...
...
bin/epm-autoremove
View file @
f70d7ec3
...
...
@@ -58,7 +58,7 @@ case $PMTYPE in
# sudocmd zypper clean
# ;;
*
)
fatal
"
Do not known
command for
$PMTYPE
"
fatal
"
Have no suitable
command for
$PMTYPE
"
;;
esac
...
...
bin/epm-changelog
View file @
f70d7ec3
...
...
@@ -31,7 +31,7 @@ __epm_changelog_files()
#
# ;;
*
)
fatal
"
Do not known
command for
$PMTYPE
"
fatal
"
Have no suitable
command for
$PMTYPE
"
;;
esac
...
...
@@ -57,7 +57,7 @@ __epm_changelog_local_names()
docmd pacman
-Qc
$1
| less
;;
*
)
fatal
"
Do not known
command for
$PMTYPE
"
fatal
"
Have no suitable
command for
$PMTYPE
"
;;
esac
}
...
...
@@ -84,7 +84,7 @@ __epm_changelog_unlocal_names()
# sudocmd zypper clean
# ;;
*
)
fatal
"
Do not known
command for
$PMTYPE
"
fatal
"
Have no suitable
command for
$PMTYPE
"
;;
esac
...
...
bin/epm-check
View file @
f70d7ec3
...
...
@@ -50,7 +50,7 @@ case $PMTYPE in
sudocmd zypper verify
||
exit
;;
*
)
fatal
"
Do not known
command for
$PMTYPE
"
fatal
"
Have no suitable
command for
$PMTYPE
"
;;
esac
...
...
bin/epm-checkpkg
View file @
f70d7ec3
...
...
@@ -113,7 +113,7 @@ case $PMTYPE in
docmd debsums
$@
;;
*
)
fatal
"
Do not known
command for
$PMTYPE
"
fatal
"
Have no suitable
command for
$PMTYPE
"
;;
esac
...
...
bin/epm-clean
View file @
f70d7ec3
...
...
@@ -45,7 +45,7 @@ case $PMTYPE in
slackpkg
)
;;
*
)
fatal
"
Do not known
command for
$PMTYPE
"
fatal
"
Have no suitable
command for
$PMTYPE
"
;;
esac
echo
"It is recommend to run 'epm autoremove' also"
...
...
bin/epm-filelist
View file @
f70d7ec3
...
...
@@ -33,7 +33,7 @@ __epm_filelist_file()
CMD
=
"dpkg --contents"
;;
*
)
fatal
"
Do not known
query command for
$PMTYPE
"
fatal
"
Have no suitable
query command for
$PMTYPE
"
;;
esac
...
...
@@ -72,7 +72,7 @@ __epm_filelist_name()
return
;;
*
)
fatal
"
Do not known
query command for
$PMTYPE
"
fatal
"
Have no suitable
query command for
$PMTYPE
"
;;
esac
...
...
bin/epm-info
View file @
f70d7ec3
...
...
@@ -74,7 +74,7 @@ case $PMTYPE in
docmd ipkg info
$pkg_names
;;
*
)
fatal
"
Do not known
command for
$PMTYPE
"
fatal
"
Have no suitable
command for
$PMTYPE
"
;;
esac
...
...
bin/epm-install
View file @
f70d7ec3
...
...
@@ -119,7 +119,7 @@ epm_install_names()
[
-n
"
$pkg_installed
"
]
&&
sudocmd nix-env
--upgrade
$pkg_installed
return
;;
*
)
fatal
"
Do not known
install command for
$PMTYPE
"
fatal
"
Have no suitable
install command for
$PMTYPE
"
;;
esac
}
...
...
@@ -174,7 +174,7 @@ epm_ni_install_names()
[
-n
"
$pkg_installed
"
]
&&
sudocmd /usr/sbin/slackpkg
-batch
=
on
-default_answer
=
yes
upgrade
$pkg_installed
return
;;
*
)
fatal
"
Do not known
appropriate install command for
$PMTYPE
"
fatal
"
Have no suitable
appropriate install command for
$PMTYPE
"
;;
esac
}
...
...
@@ -280,7 +280,7 @@ epm_print_install_command()
echo
"ipkg install
$@
"
;;
*
)
fatal
"
Do not known
appropriate install command for
$PMTYPE
"
fatal
"
Have no suitable
appropriate install command for
$PMTYPE
"
;;
esac
}
...
...
bin/epm-kernel_update
View file @
f70d7ec3
...
...
@@ -29,7 +29,7 @@ epm_kernel_update()
case
$PMTYPE
in
*
)
fatal
"
Do not known
command for
$PMTYPE
"
fatal
"
Have no suitable
command for
$PMTYPE
"
;;
esac
}
bin/epm-packages
View file @
f70d7ec3
...
...
@@ -69,7 +69,7 @@ case $PMTYPE in
CMD
=
"ipkg list"
;;
*
)
fatal
"
Do not known
query command for
$PMTYPE
"
fatal
"
Have no suitable
query command for
$PMTYPE
"
;;
esac
...
...
bin/epm-provides
View file @
f70d7ec3
...
...
@@ -33,7 +33,7 @@ case $PMTYPE in
# return
# ;;
*
)
fatal
"
Do not known
command for
$PMTYPE
"
fatal
"
Have no suitable
command for
$PMTYPE
"
;;
esac
...
...
@@ -65,7 +65,7 @@ case $PMTYPE in
# CMD="apt-cache depends"
# ;;
*
)
fatal
"
Do not known
command for
$PMTYPE
"
fatal
"
Have no suitable
command for
$PMTYPE
"
;;
esac
...
...
bin/epm-query_file
View file @
f70d7ec3
...
...
@@ -93,7 +93,7 @@ __do_query()
CMD
=
"ipkg files"
;;
*
)
fatal
"
Do not known
query command for
$PMTYPE
"
fatal
"
Have no suitable
query command for
$PMTYPE
"
;;
esac
...
...
@@ -124,7 +124,7 @@ __do_short_query()
return
;;
*
)
fatal
"
Do not known
query command for
$PMTYPE
"
fatal
"
Have no suitable
query command for
$PMTYPE
"
;;
esac
...
...
bin/epm-release-upgrade
View file @
f70d7ec3
...
...
@@ -60,7 +60,7 @@ epm_release_upgrade()
epm Upgrade
;;
*
)
fatal
"
Do not known
command for
$PMTYPE
"
fatal
"
Have no suitable
command for
$PMTYPE
"
;;
esac
...
...
bin/epm-remove
View file @
f70d7ec3
...
...
@@ -101,7 +101,7 @@ epm_remove_names()
sudocmd ipkg
$force
remove
$@
return
;;
*
)
fatal
"
Do not known
command for
$PMTYPE
"
fatal
"
Have no suitable
command for
$PMTYPE
"
;;
esac
}
...
...
@@ -160,7 +160,7 @@ epm_print_remove_command()
echo
"ipkg remove
$@
"
;;
*
)
fatal
"
Do not known
appropriate remove command for
$PMTYPE
"
fatal
"
Have no suitable
appropriate remove command for
$PMTYPE
"
;;
esac
}
...
...
bin/epm-removerepo
View file @
f70d7ec3
...
...
@@ -48,7 +48,7 @@ case $PMTYPE in
echo
"You need remove repo from /etc/slackpkg/mirrors"
;;
*
)
fatal
"
Do not known
command for
$PMTYPE
"
fatal
"
Have no suitable
command for
$PMTYPE
"
;;
esac
...
...
bin/epm-repolist
View file @
f70d7ec3
...
...
@@ -63,7 +63,7 @@ case $PMTYPE in
docmd
grep
-v
--
"^#
\|
^$"
/etc/slackpkg/mirrors
;;
*
)
fatal
"
Do not known
command for
$PMTYPE
"
fatal
"
Have no suitable
command for
$PMTYPE
"
;;
esac
...
...
bin/epm-requires
View file @
f70d7ec3
...
...
@@ -33,7 +33,7 @@ case $PMTYPE in
return
;;
*
)
fatal
"
Do not known
command for
$PMTYPE
"
fatal
"
Have no suitable
command for
$PMTYPE
"
;;
esac
...
...
@@ -55,7 +55,7 @@ case $PMTYPE in
CMD
=
"apt-cache depends"
;;
*
)
fatal
"
Do not known
command for
$PMTYPE
"
fatal
"
Have no suitable
command for
$PMTYPE
"
;;
esac
...
...
bin/epm-search
View file @
f70d7ec3
...
...
@@ -72,7 +72,7 @@ case $PMTYPE in
CMD
=
"brew search"
;;
*
)
fatal
"
Do not known
search command for
$PMTYPE
"
fatal
"
Have no suitable
search command for
$PMTYPE
"
;;
esac
...
...
bin/epm-search_file
View file @
f70d7ec3
...
...
@@ -75,7 +75,7 @@ case $PMTYPE in
CMD
=
"ipkg search"
;;
*
)
fatal
"
Do not known
search file command for
$PMTYPE
"
fatal
"
Have no suitable
search file command for
$PMTYPE
"
;;
esac
...
...
bin/epm-sh-functions
View file @
f70d7ec3
...
...
@@ -232,7 +232,7 @@ case $DISTRNAME in
CMD
=
"ipkg"
;;
*
)
fatal
"
Do not known
DISTRNAME
$DISTRNAME
"
fatal
"
Have no suitable
DISTRNAME
$DISTRNAME
"
;;
esac
PMTYPE
=
$CMD
...
...
bin/epm-simulate
View file @
f70d7ec3
...
...
@@ -93,7 +93,7 @@ _epm_do_simulate()
done
return
$res
;;
*
)
fatal
"
Do not known
simulate command for
$PMTYPE
"
fatal
"
Have no suitable
simulate command for
$PMTYPE
"
;;
esac
...
...
bin/epm-update
View file @
f70d7ec3
...
...
@@ -67,7 +67,7 @@ case $PMTYPE in
sudocmd ipkg update
;;
*
)
fatal
"
Do not known
update command for
$PMTYPE
"
fatal
"
Have no suitable
update command for
$PMTYPE
"
;;
esac
...
...
bin/epm-upgrade
View file @
f70d7ec3
...
...
@@ -66,7 +66,7 @@ epm_upgrade()
CMD
=
"/usr/sbin/slackpkg upgrade-all"
;;
*
)
fatal
"
Do not known
command for
$PMTYPE
"
fatal
"
Have no suitable
command for
$PMTYPE
"
;;
esac
...
...
bin/epm-whatdepends
View file @
f70d7ec3
...
...
@@ -34,7 +34,7 @@ case $PMTYPE in
CMD
=
"equery depends -a"
;;
*
)
fatal
"
Do not known
command for
$PMTYPE
"
fatal
"
Have no suitable
command for
$PMTYPE
"
;;
esac
...
...
bin/serv
View file @
f70d7ec3
...
...
@@ -91,7 +91,7 @@ case $DISTRNAME in
# CMD="chocolatey"
# ;;
*
)
fatal
"
Do not known
DISTRNAME
$DISTRNAME
yet"
fatal
"
Have no suitable
DISTRNAME
$DISTRNAME
yet"
;;
esac
...
...
bin/serv-common
View file @
f70d7ec3
...
...
@@ -33,7 +33,7 @@ serv_common()
sudocmd systemctl
"
$@
"
$SERVICE
;;
*
)
fatal
"
Do not known
command for
$SERVICETYPE
"
fatal
"
Have no suitable
command for
$SERVICETYPE
"
;;
esac
...
...
bin/serv-disable
View file @
f70d7ec3
...
...
@@ -37,7 +37,7 @@ serv_disable()
sudocmd systemctl disable
$1
;;
*
)
fatal
"
Do not known
command for
$SERVICETYPE
"
fatal
"
Have no suitable
command for
$SERVICETYPE
"
;;
esac
}
bin/serv-enable
View file @
f70d7ec3
...
...
@@ -37,7 +37,7 @@ serv_enable()
sudocmd systemctl
enable
$1
;;
*
)
fatal
"
Do not known
command for
$SERVICETYPE
"
fatal
"
Have no suitable
command for
$SERVICETYPE
"
;;
esac
...
...
bin/serv-list_all
View file @
f70d7ec3
...
...
@@ -32,7 +32,7 @@ serv_list_all()
sudocmd systemctl list-unit-files
;;
*
)
fatal
"
Do not known
command for
$SERVICETYPE
"
fatal
"
Have no suitable
command for
$SERVICETYPE
"
;;
esac
}
bin/serv-list_startup
View file @
f70d7ec3
...
...
@@ -31,7 +31,7 @@ serv_list_startup()
# sudocmd systemctl list-unit-files
# ;;
*
)
fatal
"
Do not known
command for
$SERVICETYPE
"
fatal
"
Have no suitable
command for
$SERVICETYPE
"
;;
esac
}
bin/serv-start
View file @
f70d7ec3
...
...
@@ -34,7 +34,7 @@ serv_start()
sudocmd systemctl start
"
$SERVICE
"
"
$@
"
;;
*
)
fatal
"
Do not known
command for
$SERVICETYPE
"
fatal
"
Have no suitable
command for
$SERVICETYPE
"
;;
esac
}
bin/serv-status
View file @
f70d7ec3
...
...
@@ -32,7 +32,7 @@ is_service_running()
fatal
"FIXME: don't know how detect current startup state"
;;
*
)
fatal
"
Do not known
command for
$SERVICETYPE
"
fatal
"
Have no suitable
command for
$SERVICETYPE
"
;;
esac
}
...
...
@@ -51,7 +51,7 @@ is_service_autostart()
sudocmd systemctl is-enabled
$1
.service
;;
*
)
fatal
"
Do not known
command for
$SERVICETYPE
"
fatal
"
Have no suitable
command for
$SERVICETYPE
"
;;
esac
}
...
...
@@ -74,7 +74,7 @@ serv_status()
sudocmd systemctl status
$SERVICE
.service
"
$@
"
;;
*
)
fatal
"
Do not known
command for
$SERVICETYPE
"
fatal
"
Have no suitable
command for
$SERVICETYPE
"
;;
esac
}
bin/serv-stop
View file @
f70d7ec3
...
...
@@ -34,7 +34,7 @@ serv_stop()
sudocmd systemctl stop
$SERVICE
"
$@
"
;;
*
)
fatal
"
Do not known
command for
$SERVICETYPE
"
fatal
"
Have no suitable
command for
$SERVICETYPE
"
;;
esac
}
bin/serv-try_restart
View file @
f70d7ec3
...
...
@@ -38,7 +38,7 @@ serv_try_restart()
sudocmd systemctl try-restart
$SERVICE
"
$@
"
;;
*
)
fatal
"
Do not known
command for
$SERVICETYPE
"
fatal
"
Have no suitable
command for
$SERVICETYPE
"
;;
esac
}
bin/serv-usage
View file @
f70d7ec3
...
...
@@ -41,7 +41,7 @@ serv_usage()
sudocmd systemctl
$SERVICE
2>&1
;;
*
)
fatal
"
Do not known
command for
$SERVICETYPE
"
fatal
"
Have no suitable
command for
$SERVICETYPE
"
;;
esac
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment