Skip to content

Commit

Permalink
Improved code lisibility
Browse files Browse the repository at this point in the history
  • Loading branch information
Fulgurance committed Jul 5, 2024
1 parent 0c4f3c6 commit 183119e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions ISM/Software.cr
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,7 @@ module ISM

def check
Ism.notifyOfCheck(@information)

checkSourcesMd5sum
if File.exists?(workDirectoryPathNoChroot+"/"+ISM::Default::Software::PatchesMd5sumArchiveName)
checkPatchesMd5sum
Expand Down Expand Up @@ -254,6 +255,7 @@ module ISM

def extract
Ism.notifyOfExtract(@information)

extractSources
if File.exists?(workDirectoryPathNoChroot+"/"+ISM::Default::Software::PatchesMd5sumArchiveName)
extractPatches
Expand Down Expand Up @@ -1504,11 +1506,13 @@ module ISM

def recordNeededKernelFeatures
Ism.notifyOfRecordNeededKernelFeatures(@information)

Ism.neededKernelFeatures += @information.kernelDependencies
end

def clean
Ism.notifyOfClean(@information)

cleanWorkDirectoryPath
end

Expand All @@ -1522,6 +1526,7 @@ module ISM

def recordUnneededKernelFeatures
Ism.notifyOfRecordUnneededKernelFeatures(@information)

Ism.unneededKernelFeatures += @information.kernelDependencies
end

Expand All @@ -1532,6 +1537,7 @@ module ISM

def uninstall
Ism.notifyOfUninstall(@information)

Ism.removeInstalledSoftware(@information)
end

Expand Down

0 comments on commit 183119e

Please sign in to comment.