Skip to content

Commit

Permalink
Don't pass --admin flag if this is a private user setup (#53)
Browse files Browse the repository at this point in the history
  • Loading branch information
edocevoli committed Feb 1, 2018
1 parent dbbb94c commit da146a1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions Libraries/MiKTeX/Setup/SetupService.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -632,6 +632,10 @@ void SetupServiceImpl::CompleteOptions(bool allowRemoteCalls)
{
shared_ptr<Session> session = Session::Get();

if (options.Task == SetupTask::FinishUpdate || options.Task == SetupTask::CleanUp)
{
options.IsCommonSetup = session->IsSharedSetup();
}
if (options.Task == SetupTask::CleanUp)
{
options.Config.commonInstallRoot = session->GetSpecialPath(SpecialPath::CommonInstallRoot);
Expand Down
2 changes: 1 addition & 1 deletion Libraries/MiKTeX/Setup/version.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@
## Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307,
## USA.

set(MIKTEX_COMP_J2000_VERSION 6600)
set(MIKTEX_COMP_J2000_VERSION 6606)
set(MIKTEX_COMP_INTERFACE_VERSION 2)

0 comments on commit da146a1

Please sign in to comment.