Changeset 1306 in MondoRescue for branches/stable/tools/build2pkg
- Timestamp:
- Apr 15, 2007, 11:07:54 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/stable/tools/build2pkg
r1263 r1306 191 191 192 192 if [ $status = 0 ]; then 193 echo "Installing packages as root" 193 194 if [ _"$dtype" = _"rpm" ]; then 194 echo "Installing RPMS as root" 195 sudo $opt rpm -Uvh --force $pkg 195 sudo rpm -Uvh --force $pkg 196 elif [ _"$dtype" = _"ebuild" ]; then 197 sudo emerge $pkg 198 elif [ _"$dtype" = _"deb" ]; then 199 sudo dpkg -i $pkg 200 elif [ _"$dtype" = _"port" ]; then 201 sudo echo empty 202 elif [ _"$dfam" = _"slackware" ]; then 203 sudo installpkg $pkg 204 else 205 echo "No method to install those packages" 196 206 fi 197 207 fi
Note:
See TracChangeset
for help on using the changeset viewer.