|
|
@ -20,7 +20,7 @@ function omf.packages.remove -a pkg
|
|
|
|
source $path/uninstall.fish 2> /dev/null;
|
|
|
|
source $path/uninstall.fish 2> /dev/null;
|
|
|
|
and emit uninstall_$pkg
|
|
|
|
and emit uninstall_$pkg
|
|
|
|
|
|
|
|
|
|
|
|
if rm -rf $path
|
|
|
|
if command rm -rf $path
|
|
|
|
omf.bundle.remove "package" $pkg
|
|
|
|
omf.bundle.remove "package" $pkg
|
|
|
|
return 0
|
|
|
|
return 0
|
|
|
|
else
|
|
|
|
else
|
|
|
@ -36,7 +36,7 @@ function omf.packages.remove -a pkg
|
|
|
|
test $pkg = (cat $OMF_CONFIG/theme);
|
|
|
|
test $pkg = (cat $OMF_CONFIG/theme);
|
|
|
|
and echo default > $OMF_CONFIG/theme
|
|
|
|
and echo default > $OMF_CONFIG/theme
|
|
|
|
|
|
|
|
|
|
|
|
if rm -rf $path
|
|
|
|
if command rm -rf $path
|
|
|
|
omf.bundle.remove "theme" $pkg
|
|
|
|
omf.bundle.remove "theme" $pkg
|
|
|
|
return 0
|
|
|
|
return 0
|
|
|
|
else
|
|
|
|
else
|
|
|
|