Skip to content
Snippets Groups Projects
Commit d3ace4fd authored by Derek Stavis's avatar Derek Stavis Committed by Derek Stavis
Browse files

omf.bundle.install: replace `uniq` by `sort -u`

parent 56bc40bd
Branches
No related merge requests found
function omf.bundle.install
set bundle $OMF_CONFIG/bundle
if test -f $OMF_CONFIG/bundle
if test -f $bundle
set packages (omf.list_local_packages)
set themes (omf.list_installed_themes)
set bundle_contents (cat $bundle | sort -u)
for record in (cat $OMF_CONFIG/bundle | uniq)
for record in $bundle_contents
set type (echo $record | cut -d' ' -f1)
set name_or_url (echo $record | cut -d' ' -f2-)
set name (basename $name_or_url | sed 's/\.git//;s/^pkg-//;s/^plugin-//;s/^theme-//')
......@@ -20,7 +22,6 @@ function omf.bundle.install
omf.install --theme $name
end
end
end
end
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment