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
1858eda7
Commit
1858eda7
authored
May 09, 2023
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm full-upgrade: add --no-clean (via config too) to disable clean after upgrade
parent
efe1e1bd
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
0 deletions
+6
-0
epm-full_upgrade
bin/epm-full_upgrade
+5
-0
eepm.conf
etc/eepm.conf
+1
-0
No files found.
bin/epm-full_upgrade
View file @
1858eda7
...
@@ -50,6 +50,9 @@ epm_full_upgrade()
...
@@ -50,6 +50,9 @@ epm_full_upgrade()
"--no-kernel-update"
)
# HELPCMD: skip kernel update during full upgrade
"--no-kernel-update"
)
# HELPCMD: skip kernel update during full upgrade
full_upgrade_no_kernel_update
=
1
full_upgrade_no_kernel_update
=
1
;;
;;
"--no-clean"
)
# HELPCMD: no clean after upgrade
full_upgrade_no_clean
=
1
;;
esac
esac
shift
shift
done
done
...
@@ -86,6 +89,8 @@ epm_full_upgrade()
...
@@ -86,6 +89,8 @@ epm_full_upgrade()
fi
fi
fi
fi
if
[
-z
"
$full_upgrade_no_clean
"
]
;
then
[
-n
"
$quiet
"
]
||
echo
[
-n
"
$quiet
"
]
||
echo
docmd epm
$dryrun
clean
docmd epm
$dryrun
clean
fi
}
}
etc/eepm.conf
View file @
1858eda7
...
@@ -29,6 +29,7 @@
...
@@ -29,6 +29,7 @@
#full_upgrade_no_flatpack=1
#full_upgrade_no_flatpack=1
#full_upgrade_no_snap=1
#full_upgrade_no_snap=1
#full_upgrade_no_kernel_update=1
#full_upgrade_no_kernel_update=1
#full_upgrade_no_clean=1
# autodetect by default
# autodetect by default
#eget_backend=curl
#eget_backend=curl
...
...
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