Yes, correct. CapEx is usually purchases of PPE. Normally sales of PPE assets would be split in another line item of the CF statement, called Disposal (or Sale) or assets.
The actual accounting can get trickier since when you sell PPE, the GROSS amount carried on the books and the accumulated depreciation aresubtracted from PPE on the BS.