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
a3b42e85
Commit
a3b42e85
authored
Aug 14, 2016
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm clean: clean local repo cache only with --force
parent
3e29b27b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
epm-clean
bin/epm-clean
+5
-5
No files found.
bin/epm-clean
View file @
a3b42e85
#!/bin/sh
#
# Copyright (C) 2012,2014 Etersoft
# Copyright (C) 2012,2014 Vitaly Lipatov <lav@etersoft.ru>
# Copyright (C) 2012,2014
,2016
Etersoft
# Copyright (C) 2012,2014
,2016
Vitaly Lipatov <lav@etersoft.ru>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
...
...
@@ -43,15 +43,15 @@ epm_clean()
case
$PMTYPE
in
apt-rpm
)
sudocmd apt-get clean
__remove_alt_apt_cache_file
[
-n
"
$force
"
]
&&
__remove_alt_apt_cache_file
;;
apt-dpkg
)
sudocmd apt-get clean
__remove_deb_apt_cache_file
[
-n
"
$force
"
]
&&
__remove_deb_apt_cache_file
;;
aptitude-dpkg
)
sudocmd aptitude clean
__remove_deb_apt_cache_file
[
-n
"
$force
"
]
&&
__remove_deb_apt_cache_file
;;
yum-rpm
)
sudocmd yum clean all
...
...
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